Method: LC::Increment#eql?

Defined in:
lib/leancloud/datatypes.rb

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


190
191
192
193
# File 'lib/leancloud/datatypes.rb', line 190

def eql?(other)
  self.class.equal?(other.class) &&
    amount == other.amount
end