Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
URI::LDAP#parse_dn
() -> nil
parse_dn
lib/uri/ldap.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/uri/ldap.rb, line 120
def parse_dn
raise InvalidURIError, 'bad LDAP URL' unless @path
@dn = @path[1..-1]
end
Private method to cleanup dn from using the path component attribute.