Sha256: 73e94d3abaa75393a62109a03da4d0cc332cb4e6e14898a5fb91052a206e64df
Contents?: true
Size: 568 Bytes
Versions: 4
Compression:
Stored size: 568 Bytes
Contents
module DataMapper class Property module Lookup # # Provides transparent access to the Properties defined in # {Property}. # # @param [Symbol] name # The name of the property to lookup. # # @return [Property] # The property with the given name. # # @raise [NameError] # The property could not be found. # # @api private # # @since 1.0.1 # protected def const_missing(name) Property.find_class(name.to_s) || super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems