Class: Ldaptic::Schema::ObjectClass

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

Instance Attribute Summary

Attributes inherited from AbstractDefinition

#attributes, #oid

Instance Method Summary collapse

Methods inherited from NameDescObsoleteDefiniton

#names, #verbose_name

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

#kindObject

“ABSTRACT”, “STRUCTURAL”, or “AUXILIARY”



173
174
175
176
177
178
179
180
181
# File 'lib/ldaptic/schema.rb', line 173

def kind
  if abstract?
    "ABSTRACT"
  elsif structural?
    "STRUCTURAL"
  elsif auxiliary?
    "AUXILIARY"
  end
end