Module: Machinist::ObjectExtensions::ClassMethods

Defined in:
lib/machinist/object.rb

Instance Method Summary collapse

Instance Method Details

#make(*args, &block) ⇒ Object



12
13
14
15
# File 'lib/machinist/object.rb', line 12

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