mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]
Patch by Giorgos Tsiftsis git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a881f81b1
commit
d89e8fb53a
2 changed files with 6 additions and 1 deletions
|
@ -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]
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue