End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::LDAP#build_path_query
build_path_query
lib/uri/ldap.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/uri/ldap.rb, line 146
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
Private method to assemble query from attributes, scope, filter, and extensions.