Module: Matreska
- Defined in:
- lib/matreska.rb,
lib/matreska/version.rb
Defined Under Namespace
Classes: Builder
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .build(core) ⇒ Object
- .doll(name, *meth, &blk) ⇒ Object (also: figure)
Class Method Details
.build(core) ⇒ Object
32 33 34 |
# File 'lib/matreska.rb', line 32 def build(core) Builder.new(core) end |
.doll(name, *meth, &blk) ⇒ Object Also known as: figure
36 37 38 39 40 41 42 43 44 |
# File 'lib/matreska.rb', line 36 def doll(name, *meth, &blk) if blk build_doll(name, &blk) else build_doll(name) do |core| core.send(*meth) end end end |