Class: Typed::Coercion::Coercer

Inherits:
Object
  • Object
show all
Extended by:
T::Generic, T::Sig
Defined in:
lib/typed/coercion/coercer.rb

Constant Summary collapse

Target =
type_member(:out)

Instance Method Summary collapse

Instance Method Details

#coerce(type:, value:) ⇒ Object



18
19
# File 'lib/typed/coercion/coercer.rb', line 18

def coerce(type:, value:)
end

#used_for_type?(type) ⇒ Boolean

Returns:

  • (Boolean)


14
15
# File 'lib/typed/coercion/coercer.rb', line 14

def used_for_type?(type)
end