diff options
author | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-31 06:09:22 +0000 |
---|---|---|
committer | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-31 06:09:22 +0000 |
commit | c657737286d7deaaec670a38d5c1e42c705b5bf9 (patch) | |
tree | e3af8de96c7c3c07c85063e9ff6b6912168218cd | |
parent | e00a30ed3b1bf1e2b773a5107e392f41bf62819f (diff) | |
download | ruby-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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/pathname.rb | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -1,4 +1,8 @@ -Wed Dec 31 11:20:34 2003 Gavin Sinclair <gsinclair@soyabean.com.au> +Wed Dec 31 15:05:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au> + + * lib/pathname.rb: Corrected small coding error. + +Wed Dec 31 15:00:00 2003 Gavin Sinclair <gsinclair@soyabean.com.au> * lib/pathname.rb: Completed documentation. 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 |