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

ruby-changes:28150

From: hsbt <ko1@a...>
Date: Tue, 9 Apr 2013 09:30:01 +0900 (JST)
Subject: [ruby-changes:28150] hsbt:r40202 (trunk): Finish docs for URI::FTP by @darkhelmet [fix GH-274]

hsbt	2013-04-09 09:29:54 +0900 (Tue, 09 Apr 2013)

  New Revision: 40202

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40202

  Log:
    Finish docs for URI::FTP by @darkhelmet [fix GH-274]

  Modified files:
    trunk/lib/uri/ftp.rb

Index: lib/uri/ftp.rb
===================================================================
--- lib/uri/ftp.rb	(revision 40201)
+++ lib/uri/ftp.rb	(revision 40202)
@@ -165,7 +165,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/ftp.rb#L165
     end
     private :check_typecode
 
-    # private setter for the typecode +v+
+    # Private setter for the typecode +v+
     #
     # see also URI::FTP.typecode=
     #
@@ -234,11 +234,13 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/ftp.rb#L234
       return @path.sub(/^\//,'').sub(/^%2F/,'/')
     end
 
+    # Private setter for the path of the URI::FTP
     def set_path(v)
       super("/" + v.sub(/^\//, "%2F"))
     end
     protected :set_path
 
+    # Returns a String representation of the URI::FTP
     def to_s
       save_path = nil
       if @typecode

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

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