Method: Facebooker::User#==
- Defined in:
- lib/facebooker/models/user.rb
#==(other_user) ⇒ Object
Two Facebooker::User objects should be considered equal if their Facebook ids are equal
626 627 628 |
# File 'lib/facebooker/models/user.rb', line 626 def ==(other_user) other_user.is_a?(User) && id == other_user.id end |