Method: Capgun::Base#==

Defined in:
lib/capgun/base.rb

#==(other) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


43
44
45
# File 'lib/capgun/base.rb', line 43

def ==(other)
  super || (other.class == self.class && other.id == self.id)
end