Module: Formed::FromModel

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/formed/from_model.rb

Defined Under Namespace

Modules: ClassMethods Classes: FromModelAssignment

Instance Method Summary collapse

Instance Method Details

#from_model(model) ⇒ Object



31
32
33
# File 'lib/formed/from_model.rb', line 31

def from_model(model)
  FromModelAssignment.call(self, model)
end