class Bundler::URI::LDAP

def build_path_query

Private method to assemble +query+ from +attributes+, +scope+, +filter+, and +extensions+.
def build_path_query
  @path = '/' + @dn
  query = []
  [@extensions, @filter, @scope, @attributes].each do |x|
    next if !x && query.size == 0
    query.unshift(x)
  end
  @query = query.join('?')
end