Module: GSGraph::Comparison
- Included in:
- Action, Device, Education, FriendRequest, Image, Location, Node, Picture, Poke, Privacy, Property, Role, Subscription, Tag, Targeting, Work
- Defined in:
- lib/gs_graph/comparison.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/gs_graph/comparison.rb', line 3 def ==(other) instance_variables.all? do |key| if key.to_s == '@raw_attributes' :ignore_difference! else instance_variable_get(key) == other.instance_variable_get(key) end end end |