Method: PassiveSupport::CoreExtensions::Time::Calculations::ClassMethods#===

Defined in:
lib/passive_support/core_ext/time/calculations.rb

#===(other) ⇒ Object

Overriding case equality method so that it returns true for PassiveSupport::TimeWithZone instances



30
31
32
# File 'lib/passive_support/core_ext/time/calculations.rb', line 30

def ===(other)
  other.is_a?(::Time)
end