Module: TypeCoerce
- Defined in:
- lib/sorbet-coerce.rb,
lib/sorbet-coerce/converter.rb,
lib/sorbet-coerce/configuration.rb
Defined Under Namespace
Modules: Configuration Classes: CoercionError, Converter, ShapeError
Class Method Summary collapse
Class Method Details
.[](type) ⇒ Object
5 6 7 |
# File 'lib/sorbet-coerce.rb', line 5 def self.[](type) TypeCoerce::Converter.new(type) end |