mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c4c4bff456
commit
9352485e47
3 changed files with 15 additions and 3 deletions
|
@ -512,9 +512,6 @@ end
|
|||
|
||||
class Pathname # * File *
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue