Method: Formotion::Base#isEqual

Defined in:
lib/formotion/base.rb

#isEqual(other) ⇒ Object



29
30
31
32
33
34
35
# File 'lib/formotion/base.rb', line 29

def isEqual(other)
  return true if other == self
  return false unless other # if other is nil
  return false unless other.class == self.class

  return other.object_id == self.object_id
end