summaryrefslogtreecommitdiff
path: root/lib/open-uri.rb
diff options
context:
space:
mode:
authorAlexander Ilyin <alexander.ilyin11@gmail.com>2022-06-06 17:16:36 +0300
committergit <svn-admin@ruby-lang.org>2022-06-07 00:06:56 +0900
commit6fc16e748ee3a95d0134c180c6f33d947163f3d7 (patch)
treed253706721689495bf17fa71a38a834c5e9cd184 /lib/open-uri.rb
parent66a9e452bbbb69e5a653d078839b222b92034cb6 (diff)
[ruby/open-uri] [DOC] Fix markup for `URI.open`
* Add missing slash. https://github.com/ruby/open-uri/commit/40023e63da
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r--lib/open-uri.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb
index e33e57a7f6..cb9c3aa505 100644
--- a/lib/open-uri.rb
+++ b/lib/open-uri.rb
@@ -9,7 +9,7 @@ module URI
# If the first argument responds to the 'open' method, 'open' is called on
# it with the rest of the arguments.
#
- # If the first argument is a string that begins with <code>(protocol)://<code>, it is parsed by
+ # If the first argument is a string that begins with <code>(protocol)://</code>, it is parsed by
# URI.parse. If the parsed object responds to the 'open' method,
# 'open' is called on it with the rest of the arguments.
#