aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/fileutils.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 57a98a3994..6ef5a3f60a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 23 14:26:44 2014 Zachary Scott <e@zzak.io>
+
+ * 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@zzak.io>
* README -> README.md: [DOC] Format README with Markdown [Bug #9255]
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index f42fe9710d..503e3f571d 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -1659,7 +1659,7 @@ module FileUtils
#
# 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 }