class Net::LDAP::Filter

def intersect(left, right)

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.

right.
Filter.intersect(left, right) is the same as left |
entries where either the left or right side are true. Calling
Creates a disjoint comparison between two or more filters. Selects
#
def intersect(left, right)
  new(:or, left, right)
end