module Skeleton

Constants

VERSION

Public Class Methods

build() { |structure| ... } click to toggle source

Allows you to build a skeleton structure from within a block

@return [Skeleton::Structure]

# File lib/skeleton.rb, line 10
def self.build(&block)
  structure = Skeleton::Structure.new
  yield(structure) if block
  structure
end