class ROM::LDAP::ProjectionDSL
Projection DSL
used in reading API (`select`, `select_append` etc.)
@see LDAP::Schema#project
@api public
Public Instance Methods
respond_to_missing?(name, include_private = false)
click to toggle source
@api private
Calls superclass method
ROM::LDAP::DSL#respond_to_missing?
# File lib/rom/ldap/projection_dsl.rb, line 15 def respond_to_missing?(name, include_private = false) super || type(name) end
Private Instance Methods
method_missing(meth, *args, &block)
click to toggle source
@api private
Calls superclass method
# File lib/rom/ldap/projection_dsl.rb, line 22 def method_missing(meth, *args, &block) if schema.key?(meth) schema[meth] else type = type(meth) if type ::ROM::LDAP::Attribute[type].value(args[0]) else super end end end