module Treequel::LDAPControlExtensions
Extensions to LDAP::Control
to make them grok ==.
Public Instance Methods
==( other )
click to toggle source
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