class OnebusawaySDK::Unknown
When we don’t know what to expect for the value.
@abstract
@private
def self.==(other) = other.is_a?(Class) && other <= OnebusawaySDK::Unknown
-
(Boolean)
-
Parameters:
-
other
(Object
) --
def self.==(other) = other.is_a?(Class) && other <= OnebusawaySDK::Unknown
def self.===(other) = true
-
(Boolean)
-
Parameters:
-
other
(Object
) --
def self.===(other) = true
def self.try_strict_coerce(value)
-
(Array(true, Object, nil), Array(false, Boolean, Integer))
-
Parameters:
-
value
(Object
) --
Other tags:
- Private: -
def self.try_strict_coerce(value) # prevent unknown variant from being chosen during the first coercion pass [false, true, 0] end