Sha256: c830f5240f8548f7c8a38f38cff3ba1c85ac86da5fa6933534dcd98b99470d05
Contents?: true
Size: 392 Bytes
Versions: 23
Compression:
Stored size: 392 Bytes
Contents
module Virtus module ConstMissingExtensions # Hooks into const missing process to determine types of attributes # # @param [String] name # # @return [Class] # # @api private def const_missing(name) Attribute::Builder.determine_type(name) or Axiom::Types.const_defined?(name) && Axiom::Types.const_get(name) or super end end end
Version data entries
23 entries across 21 versions & 5 rubygems