Module: TableStructure::Schema::DSL::ContextBuilder
- Defined in:
- lib/table_structure/schema/dsl/context_builder.rb
Instance Method Summary collapse
-
#context_builder(name, &block) ⇒ Object
TODO: Change definition style.
- #context_builders ⇒ Object
Instance Method Details
#context_builder(name, &block) ⇒ Object
TODO: Change definition style
8 9 10 11 |
# File 'lib/table_structure/schema/dsl/context_builder.rb', line 8 def context_builder(name, &block) context_builders[name] = block nil end |
#context_builders ⇒ Object
13 14 15 |
# File 'lib/table_structure/schema/dsl/context_builder.rb', line 13 def context_builders @__context_builders__ ||= {} end |