Class: Item

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/correole/item.rb

Instance Method Summary collapse

Instance Method Details

#==(o) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/correole/item.rb', line 6

def ==(o)
  return o.class == self.class &&
    o.title == self.title &&
    o.description == self.description &&
    o.link == self.link &&
    o.pub_date == self.pub_date &&
    o.id == self.id &&
    o.created_at == self.created_at &&
    o.updated_at == self.updated_at
end