Module: T::Utils::CoercePatch
- Included in:
- T::Utils
- Defined in:
- lib/tapioca/sorbet_ext/generic_name_patch.rb
Instance Method Summary collapse
Instance Method Details
#coerce(val) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/tapioca/sorbet_ext/generic_name_patch.rb', line 82 def coerce(val) if val.is_a?(Tapioca::TypeVariableModule) val.coerce_to_type_variable else super end end |