| Class | ActiveLdap::Schema::Entry |
| In: |
lib/active_ldap/schema.rb
|
| Parent: | Object |
| aliases | [R] | |
| description | [R] | |
| id | [R] | |
| name | [R] |
# File lib/active_ldap/schema.rb, line 285
285: def initialize(name, schema, group)
286: @schema = schema
287: @name, *@aliases = attribute("NAME", name)
288: @name ||= name
289: @id = @schema.resolve_name(group, @name)
290: collect_info
291: @schema = nil
292: end
# File lib/active_ldap/schema.rb, line 294
294: def eql?(other)
295: self.class == other.class and
296: (id == other.id or
297: (id.nil? and other.nil? and name == other.name))
298: end