Class: Hospodar::Builder::Flatten
- Inherits:
-
Assembler
- Object
- Assembler
- Hospodar::Builder::Flatten
- Defined in:
- lib/hospodar/builder/flatten.rb
Overview
Implements flat(&block) strategy in schemas
Instance Method Summary collapse
Instance Method Details
#on_building(receiver, plan, &on_create) ⇒ Object
11 12 13 |
# File 'lib/hospodar/builder/flatten.rb', line 11 def on_building(receiver, plan, &on_create) building_steps(receiver, plan, &on_create) end |
#on_planing(receiver) ⇒ Object
7 8 9 |
# File 'lib/hospodar/builder/flatten.rb', line 7 def on_planing(receiver) execution_plan(receiver, &dsl_block) end |