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

ruby-changes:32609

From: zzak <ko1@a...>
Date: Thu, 23 Jan 2014 14:28:41 +0900 (JST)
Subject: [ruby-changes:32609] zzak:r44688 (trunk): * lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]

zzak	2014-01-23 14:28:36 +0900 (Thu, 23 Jan 2014)

  New Revision: 44688

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

  Log:
    * lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]
      Patch by Giorgos Tsiftsis

  Modified files:
    trunk/ChangeLog
    trunk/lib/fileutils.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44687)
+++ ChangeLog	(revision 44688)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jan 23 14:26:44 2014  Zachary Scott  <e@z...>
+
+	* lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]
+	  Patch by Giorgos Tsiftsis
+
 Thu Jan 23 13:56:16 2014  Zachary Scott  <e@z...>
 
 	* README -> README.md: [DOC] Format README with Markdown [Bug #9255]
Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb	(revision 44687)
+++ lib/fileutils.rb	(revision 44688)
@@ -1659,7 +1659,7 @@ module FileUtils https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L1659
   #
   # Returns an Array of option names of the method +mid+.
   #
-  #   p FileUtils.options(:rm)  #=> ["noop", "verbose", "force"]
+  #   p FileUtils.options_of(:rm)  #=> ["noop", "verbose", "force"]
   #
   def FileUtils.options_of(mid)
     OPT_TABLE[mid.to_s].map {|sym| sym.to_s }

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

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