Class: Typed::Coercion::Coercer
- Inherits:
-
Object
- Object
- Typed::Coercion::Coercer
show all
- Extended by:
- T::Generic, T::Sig
- Defined in:
- lib/typed/coercion/coercer.rb
Direct Known Subclasses
BooleanCoercer, DateCoercer, DateTimeCoercer, EnumCoercer, FloatCoercer, IntegerCoercer, StringCoercer, StructCoercer, SymbolCoercer, TypedArrayCoercer, TypedHashCoercer
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
14
15
|
# File 'lib/typed/coercion/coercer.rb', line 14
def used_for_type?(type)
end
|