# File lib/net/ldap/filter.rb, line 373 def match entry case @op when :eq if @right == "*" l = entry[@left] and l.length > 0 else l = entry[@left] and l = l.to_a and l.index(@right) end else raise LdapError.new( "unknown filter type in match: #{@op}" ) end end