Module: Ardb::RecordSpy::InstanceMethods
- Defined in:
- lib/ardb/record_spy.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
95 96 97 |
# File 'lib/ardb/record_spy.rb', line 95 def id @id end |
Instance Method Details
#update_column(col, value) ⇒ Object
97 98 99 |
# File 'lib/ardb/record_spy.rb', line 97 def update_column(col, value) self.send("#{col}=", value) end |