[前][次][番号順一覧][スレッド一覧]

ruby-changes:72070

From: Alexander <ko1@a...>
Date: Tue, 7 Jun 2022 00:07:09 +0900 (JST)
Subject: [ruby-changes:72070] 6fc16e748e (master): [ruby/open-uri] [DOC] Fix markup for `URI.open`

https://git.ruby-lang.org/ruby.git/commit/?id=6fc16e748e

From 6fc16e748ee3a95d0134c180c6f33d947163f3d7 Mon Sep 17 00:00:00 2001
From: Alexander Ilyin <alexander.ilyin11@g...>
Date: Mon, 6 Jun 2022 17:16:36 +0300
Subject: [ruby/open-uri] [DOC] Fix markup for `URI.open`

* Add missing slash.

https://github.com/ruby/open-uri/commit/40023e63da
---
 lib/open-uri.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 https://github.com/ruby/ruby/blob/trunk/lib/open-uri.rb#L9
   # 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.
   #
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]