Module: MassiveRecord::ORM::AttributeMethods::Write

Extended by:
ActiveSupport::Concern
Defined in:
lib/massive_record/orm/attribute_methods/write.rb

Instance Method Summary collapse

Instance Method Details

#write_attribute(attr_name, value) ⇒ Object



12
13
14
# File 'lib/massive_record/orm/attribute_methods/write.rb', line 12

def write_attribute(attr_name, value)
  @attributes[attr_name.to_s] = value
end