Module: Machinist::MongoMapperExtensions::EmbeddedDocument

Defined in:
lib/machinist/mongomapper.rb

Instance Method Summary collapse

Instance Method Details

#make(*args, &block) ⇒ Object



51
52
53
54
# File 'lib/machinist/mongomapper.rb', line 51

def make(*args, &block)
  lathe = Lathe.run(Machinist::MongoMapperAdapter, self.new, *args)
  lathe.object(&block)
end