# File lib/active_ldap/schema.rb, line 288 def initialize(name, schema, group) @schema = schema @name, *@aliases = attribute("NAME", name) @name ||= name @id = @schema.resolve_name(group, @name) collect_info @schema = nil end
# File lib/active_ldap/schema.rb, line 307 def <=>(other) name <=> other.name end
# File lib/active_ldap/schema.rb, line 297 def eql?(other) self.class == other.class and (id == other.id or (id.nil? and other.nil? and name == other.name)) end
# File lib/active_ldap/schema.rb, line 303 def hash id.nil? ? name.hash : id.hash end
# File lib/active_ldap/schema.rb, line 311 def to_param name end