summaryrefslogtreecommitdiff
path: root/lib/pathname.rb
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
commitbd45695886c6f0313abfca7b3c692d56722f00bb (patch)
treee3af8de96c7c3c07c85063e9ff6b6912168218cd /lib/pathname.rb
parent29b7f2efcae1d4d980f5d3d71f8cd56ab6a3f89c (diff)
* lib/pathname.rb: Corrected small coding error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r--lib/pathname.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 156a9de128..e664d64768 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