# File lib/active_ldap/schema.rb, line 287 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 306 def <=>(other) name <=> other.name end
# File lib/active_ldap/schema.rb, line 296 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 302 def hash id.nil? ? name.hash : id.hash end
# File lib/active_ldap/schema.rb, line 310 def to_param name end