# File lib/active_ldap/ldif.rb, line 647def==(other)
other.is_a?(self.class) and@dn==other.dnandAttributes.normalize(@attributes) ==Attributes.normalize(other.attributes)
end
to_hash()click to toggle source
# File lib/active_ldap/ldif.rb, line 637defto_hashattributes.merge({"dn" =>dn})
end
to_s()click to toggle source
# File lib/active_ldap/ldif.rb, line 641defto_sresult = to_s_preluderesult<<to_s_contentresultend
Private Instance Methods
to_s_content()click to toggle source
# File lib/active_ldap/ldif.rb, line 659defto_s_contentAttributes.encode(@attributes)
end
to_s_prelude()click to toggle source
# File lib/active_ldap/ldif.rb, line 655defto_s_preludeAttribute.encode("dn", dn)
end