class TZInfo::TimezoneOffset

def ==(toi)

Returns:
  • (Boolean) - `true` if `toi` is a {TimezoneOffset} with the same

Parameters:
  • toi (Object) -- the instance to test for equality.
def ==(toi)
  toi.kind_of?(TimezoneOffset) &&
    base_utc_offset == toi.base_utc_offset && std_offset == toi.std_offset && abbreviation == toi.abbreviation
end