Project

General

Profile

Misc #9392 ยป 0001-lib-fileutils.rb-DOC-Fix-typo.patch

giorgostsiftsis (Giorgos Tsiftsis), 01/10/2014 08:19 PM

View differences:

lib/fileutils.rb
#
# 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 }
    (1-1/1)