Class: Object

Inherits:
BasicObject
Defined in:
lib/foreign_model.rb

Instance Method Summary collapse

Instance Method Details

#write_raw_attribute(name, value) ⇒ Object



77
78
79
# File 'lib/foreign_model.rb', line 77

def write_raw_attribute(name, value)
  instance_variable_set "@#{name}".to_sym, value
end