Module: Ardb::RecordSpy::InstanceMethods

Defined in:
lib/ardb/record_spy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

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