Sha256: 5735e2f0383505178649e08b3f7adf6dcdad57307b4133a23c6dd3cdac3afc28
Contents?: true
Size: 248 Bytes
Versions: 44
Compression:
Stored size: 248 Bytes
Contents
module Marty module EnumHelper def self.pg_enum?(klass:) return true if klass.is_a? Marty::PgEnum return true if Marty::PgEnum === klass return klass._pg_enum? if klass.respond_to?(:_pg_enum?) false end end end
Version data entries
44 entries across 44 versions & 1 rubygems