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

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#write_attribute(attr_name, value) ⇒ Object



30
31
32
# File 'lib/massive_record/orm/attribute_methods/write.rb', line 30

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