Module: TableStructure::Schema::DSL::ContextBuilder
- Defined in:
- lib/table_structure/schema/dsl/context_builder.rb
Instance Method Summary collapse
Instance Method Details
#context_builder(name, callable) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/table_structure/schema/dsl/context_builder.rb', line 7 def context_builder(name, callable) context_builders[name] = ::TableStructure::Schema::Definition::ContextBuilder.new( callable ) nil end |
#context_builders ⇒ Object
15 16 17 |
# File 'lib/table_structure/schema/dsl/context_builder.rb', line 15 def context_builders @__context_builders__ ||= {} end |