Module: FbGraph::Comparison

Included in:
Action, Education, FriendRequest, Image, Location, Node, Poke, Privacy, Property, Subscription, Tag, Targeting, Work
Defined in:
lib/fb_graph/comparison.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
6
7
# File 'lib/fb_graph/comparison.rb', line 3

def ==(other)
  instance_variables.all? do |key|
    instance_variable_get(key) == other.instance_variable_get(key)
  end
end