From: glenab@... Date: 2015-02-23T23:09:42+00:00 Subject: [ruby-core:68270] [Ruby trunk - Bug #10896] [Open] First example in the documentation for URI::join shows incorrect result Issue #10896 has been reported by Glen Aultman-Bettridge. ---------------------------------------- Bug #10896: First example in the documentation for URI::join shows incorrect result https://bugs.ruby-lang.org/issues/10896 * Author: Glen Aultman-Bettridge * Status: Open * Priority: Low * Assignee: * ruby -v: 2.2.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The example is ~~~ p URI.join("http://example.com/","main.rbx") # => # ~~~ but should be ~~~ p URI.join("http://example.com/","main.rbx") # => # ~~~ This seems to have been introduced in the documentation for 1.9.3 and occurs in 2.1.5 and 2.2.0 docs as well. -- https://bugs.ruby-lang.org/