Sha256: eb6dbe6c474ab2d4180bcbcc916684ffd6201b8cc1607ac87beecfdef407ec7f
Contents?: true
Size: 465 Bytes
Versions: 18
Compression:
Stored size: 465 Bytes
Contents
# typed: strong module SorbetRails::PluckToTStruct extend T::Sig sig { type_parameters(:U). params( ta_struct: ITypeAssert[T.type_parameter(:U)], associations: T::Hash[Symbol, String], ). returns(T::Array[T.type_parameter(:U)]) } def pluck_to_tstruct(ta_struct, associations: {}); end end class ActiveRecord::Base extend SorbetRails::PluckToTStruct end class ActiveRecord::Relation include SorbetRails::PluckToTStruct end
Version data entries
18 entries across 18 versions & 1 rubygems