class OnebusawaySDK::Internal::Type::Unknown

When we don’t know what to expect for the value.
@abstract
@api private

def self.==(other) = other.is_a?(Class) && other <= OnebusawaySDK::Internal::Type::Unknown

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --

Other tags:
    Api: - public
def self.==(other) = other.is_a?(Class) && other <= OnebusawaySDK::Internal::Type::Unknown

def self.===(other) = true

Returns:
  • (Boolean) -

Parameters:
  • other (Object) --

Other tags:
    Api: - public
def self.===(other) = true

def coerce(value, state:)

Returns:
  • (Object) -

Options Hash: (**state)
  • :branched (Integer) --
  • :error (Class) --
  • :exactness (Hash{Symbol=>Object}) --
  • :strictness (Boolean) --
  • :translate_names (Boolean) --

Parameters:
  • state (Hash{Symbol=>Object}) -- .
  • value (Object) --

Other tags:
    Api: - private
def coerce(value, state:)
  state.fetch(:exactness)[:yes] += 1
  value
end

def to_sorbet_type

Returns:
  • (Object) -

Other tags:
    Api: - private
def to_sorbet_type
  T.anything
end