class Net::LDAP::Filter

def |(filter)

z = x | y
# Selects only entries that meet either condition above.
y = Net::LDAP::Filter.eq("mail", "George*")
# with "George".
# Selects only entries that have a mail attribute that begins
x = Net::LDAP::Filter.present("objectclass")
# Selects only entries that have an objectclass attribute.

entries where either the left or right side are true.
Creates a disjoint comparison between two or more filters. Selects
#
def |(filter)
  self.class.intersect(self, filter)
end