mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb: [DOC] Fix typo (s/perserve/preserve/)
[ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bf9c1d9818
commit
4f5d3c5e53
1 changed files with 1 additions and 1 deletions
|
@ -1649,7 +1649,7 @@ module FileUtils
|
|||
#
|
||||
# p FileUtils.have_option?(:cp, :noop) #=> true
|
||||
# p FileUtils.have_option?(:rm, :force) #=> true
|
||||
# p FileUtils.have_option?(:rm, :perserve) #=> false
|
||||
# p FileUtils.have_option?(:rm, :preserve) #=> false
|
||||
#
|
||||
def FileUtils.have_option?(mid, opt)
|
||||
li = OPT_TABLE[mid.to_s] or raise ArgumentError, "no such method: #{mid}"
|
||||
|
|
Loading…
Reference in a new issue