diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-09-08 09:17:55 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-09-08 09:17:55 +0000 |
commit | b0e1436164e4004f048bac4babc220e0deccb4f9 (patch) | |
tree | 1e46ec5aa4b12c076ba9c535ff889a49b9a7b3c1 /lib/ftools.rb | |
parent | 48acbc5e03622f1eb0423a6c2a3a603f61acfac6 (diff) |
1.1c5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ftools.rb')
-rw-r--r-- | lib/ftools.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftools.rb b/lib/ftools.rb index 59bc81b365..ff487dc808 100644 --- a/lib/ftools.rb +++ b/lib/ftools.rb @@ -151,7 +151,7 @@ class << File o_chmod mode, *files end - def install(from, to, mode, verbose) + def install(from, to, mode = nil, verbose = false) to = catname(from, to) unless FileTest.exist? to and cmp from, to cp from, to, verbose |