Class: TA

Inherits:
Object
  • Object
show all
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

included

Methods included from ITypeAssert

#get_type

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