Module: Sandwich::Model::Machinist::Extensions
- Includes:
- Base::Extensions
- Defined in:
- lib/sandwich/model/machinist.rb
Instance Method Summary collapse
Instance Method Details
#blueprint(name = :master, &blueprints) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/sandwich/model/machinist.rb', line 21 def blueprint(name = :master, &blueprints) if block_given? && name != :master Machinist::Materializer[name] = self end super end |