Method: ActiveSupport::TimeWithZone#eql?

Defined in:
lib/active_support/time_with_zone.rb

#eql?(other) ⇒ Boolean

Returns true if other is equal to current object.

Returns:

  • (Boolean)


285
286
287
# File 'lib/active_support/time_with_zone.rb', line 285

def eql?(other)
  other.eql?(utc)
end