Treequel::

LDAPControlExtensions

module

Extensions to LDAP::Control to make them grok ==.

Public Instance Methods

anchor
==( other )

Returns true if the other LDAP::Control is equivalent to the receiver.

# File lib/treequel/monkeypatches.rb, line 14
def ==( other )
        return ( other.class == self.class ) &&
                other.oid == self.oid &&
                other.value == self.value &&
                other.iscritical == self.iscritical
end