diff options
-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 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 |