summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-31 06:09:22 +0000
committergsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-31 06:09:22 +0000
commitc657737286d7deaaec670a38d5c1e42c705b5bf9 (patch)
treee3af8de96c7c3c07c85063e9ff6b6912168218cd /lib
parente00a30ed3b1bf1e2b773a5107e392f41bf62819f (diff)
downloadruby-c657737286d7deaaec670a38d5c1e42c705b5bf9.tar.gz
ruby-c657737286d7deaaec670a38d5c1e42c705b5bf9.tar.xz
ruby-c657737286d7deaaec670a38d5c1e42c705b5bf9.zip
* lib/pathname.rb: Corrected small coding error.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/pathname.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 156a9de12..e664d6476 100644
--- a/lib/pathname.rb
+++ b/lib/pathname.rb
@@ -598,8 +598,8 @@ class Pathname # * File *
# See <tt>File.chmod</tt>. Changes permissions.
def chmod(mode) File.chmod(mode, @path) end
- # See <tt>File.chmod</tt>.
- def lchmod(mode) File.chmod(mode, @path) end
+ # See <tt>File.lchmod</tt>.
+ def lchmod(mode) File.lchmod(mode, @path) end
# See <tt>File.chown</tt>. Change owner and group of file.
def chown(owner, group) File.chown(owner, group, @path) end