class Time

def ===(other)

Experimental RBS support (using type sampling data from the type_fusion project).

def ===: ((Time | ActiveSupport::TimeWithZone | TZInfo::Timestamp) other) -> bool

This signature was generated using 31 samples from 3 applications.

Overriding case equality method so that it returns true for ActiveSupport::TimeWithZone instances
def ===(other)
  super || (self == Time && other.is_a?(ActiveSupport::TimeWithZone))
end