class Net::LDAP::Filter
def coalesce(operator) #:nodoc:
only of self.
coalesce recursively). If they're not, then return an array consisting
type of joining operator, then return both of them as an array (calling
that are longer than two. If BOTH of our branches are of the specified
This is a private helper method for dealing with chains of ANDs and ORs
#
def coalesce(operator) #:nodoc: if @op == operator [@left.coalesce(operator), @right.coalesce(operator)] else [self] end end