Method: Propertyware::Adjustment#==
- Defined in:
- lib/propertyware/models/adjustment.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/propertyware/models/adjustment.rb', line 191 def ==(o) return true if self.equal?(o) self.class == o.class && amount == o.amount && comments == o.comments && created_by == o.created_by && created_date_time == o.created_date_time && date == o.date && gl_account_id == o.gl_account_id && id == o.id && last_modified_by == o.last_modified_by && last_modified_date_time == o.last_modified_date_time && lease_id == o.lease_id && portfolio_id == o.portfolio_id && ref_no == o.ref_no end |