Methods

Class Index [+]

Quicksearch

DataMapper::Property::Lookup

Protected Instance Methods

const_missing(name) click to toggle source

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

    # File lib/dm-core/property/lookup.rb, line 24
24:       def const_missing(name)
25:         Property.find_class(name.to_s) || super
26:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.