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

ruby-changes:47483

From: nobu <ko1@a...>
Date: Tue, 15 Aug 2017 10:05:55 +0900 (JST)
Subject: [ruby-changes:47483] nobu:r59598 (trunk): ftp.rb: fix example format [ci skip]

nobu	2017-08-15 10:05:50 +0900 (Tue, 15 Aug 2017)

  New Revision: 59598

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59598

  Log:
    ftp.rb: fix example format [ci skip]
    
    * lib/uri/ftp.rb: [DOC] fix format of example URLs.  patched by
      aycabta (Code Ahss) at [ruby-core:82379].  [Bug #13814]

  Modified files:
    trunk/lib/uri/ftp.rb
Index: lib/uri/ftp.rb
===================================================================
--- lib/uri/ftp.rb	(revision 59597)
+++ lib/uri/ftp.rb	(revision 59598)
@@ -226,7 +226,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/ftp.rb#L226
     # RFC 1738 specifically states that the path for an FTP URI does not
     # include the / which separates the URI path from the URI host. Example:
     #
-    #     ftp://ftp.example.com/pub/ruby
+    # +ftp://ftp.example.com/pub/ruby+
     #
     # The above URI indicates that the client should connect to
     # ftp.example.com then cd pub/ruby from the initial login directory.
@@ -234,7 +234,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/ftp.rb#L234
     # If you want to cd to an absolute directory, you must include an
     # escaped / (%2F) in the path. Example:
     #
-    #     ftp://ftp.example.com/%2Fpub/ruby
+    # +ftp://ftp.example.com/%2Fpub/ruby+
     #
     # This method will then return "/pub/ruby"
     #

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

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