Sha256: 9df858bd45696661be93ab8a8cbc80a362acdebee32b64f7b5d0fb4c95de864b
Contents?: true
Size: 423 Bytes
Versions: 31
Compression:
Stored size: 423 Bytes
Contents
# typed: strong module ITypeAssert extend T::Sig extend T::Generic Elem = type_member(:out) abstract! sig { abstract.params(val: T.untyped).returns(Elem) } def assert(val); end end module TypeAssertImpl; end class TA extend T::Sig extend T::Generic include ITypeAssert extend TypeAssertImpl Elem = type_member sig { override.params(val: T.untyped).returns(Elem) } def assert(val); end end
Version data entries
31 entries across 31 versions & 1 rubygems