Class: Ldaptic::Schema::LdapSyntax

Inherits:
AbstractDefinition show all
Defined in:
lib/ldaptic/schema.rb

Overview

Note that LDAP syntaxes do not have names or the obsolete flag, only desc.

Instance Attribute Summary

Attributes inherited from AbstractDefinition

#attributes, #oid

Instance Method Summary collapse

Methods inherited from AbstractDefinition

attr_ldap_boolean, attr_ldap_reader, #initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from Ldaptic::Schema::AbstractDefinition

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ldaptic::Schema::AbstractDefinition

Instance Method Details

#objectObject

Returns the appropriate parser from the Ldaptic::Syntaxes module.



224
225
226
# File 'lib/ldaptic/schema.rb', line 224

def object
  Ldaptic::Syntaxes.for(desc.delete(" "))
end