Class: TA
- Inherits:
-
Object
- Object
- TA
- Extended by:
- T::Generic, T::Sig
- Includes:
- ITypeAssert, TypeAssertImpl
- Defined in:
- lib/sorbet-rails/type_assert/type_assert.rb,
lib/sorbet-rails/type_assert/type_assert_impl.rb
Constant Summary collapse
- Elem =
type_member
Instance Method Summary collapse
Methods included from TypeAssertImpl
Methods included from ITypeAssert
Instance Method Details
#assert(val) ⇒ Object
19 20 21 |
# File 'lib/sorbet-rails/type_assert/type_assert.rb', line 19 def assert(val) val # assertion happens in the Impl module end |