Sha256: f372b92ff09d77120e55f48e396a808c1fe30c4a640ba264f6ba9e4d8a1f6f65
Contents?: true
Size: 408 Bytes
Versions: 212
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true # typed: true # Use as a mixin with extend (`extend T::Generic`). module T::Generic include T::Helpers include Kernel ### Class/Module Helpers ### def [](*types) self end def type_member(variance=:invariant, &blk) T::Types::TypeMember.new(variance) end def type_template(variance=:invariant, &blk) T::Types::TypeTemplate.new(variance) end end
Version data entries
212 entries across 212 versions & 2 rubygems