Method: Makanai::Model#initialize
- Defined in:
- lib/makanai/model.rb
#initialize(attributes) ⇒ Model
Returns a new instance of Model.
9 10 11 12 |
# File 'lib/makanai/model.rb', line 9 def initialize(attributes) @origin_attributes = attributes difine_attribute_methods end |