class Time

def ===(other)

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

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

This signature was generated using 3 samples from 1 application.

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