Class: Sandwich::Model::Machinist::Materializer
- Inherits:
-
Sandwich::Model::Materializer
- Object
- Sandwich::Model::Materializer
- Sandwich::Model::Machinist::Materializer
- Defined in:
- lib/sandwich/model/machinist.rb
Instance Method Summary collapse
Methods inherited from Sandwich::Model::Materializer
[], []=, #get, #initialize, named_fixtures, prepare_key
Constructor Details
This class inherits a constructor from Sandwich::Model::Materializer
Instance Method Details
#new(args = nil) ⇒ Object
9 10 11 |
# File 'lib/sandwich/model/machinist.rb', line 9 def new(args = nil) @model.make_unsaved(@key, @model.prepare_args(args, :create)) end |