Module: Structor
- Defined in:
- lib/structor.rb,
lib/structor/node.rb,
lib/structor/type.rb,
lib/structor/builder.rb,
lib/structor/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.define(&block) ⇒ Object
8 9 10 |
# File 'lib/structor.rb', line 8 def self.define(&block) Node.new(:hash, true, &block) end |