mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
translated from pathname.rb. -- この行以は下無視されます -- M ChangeLog M ext/pathname/lib/pathname.rb M ext/pathname/pathname.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
98f53d5db2
commit
05d9fabda1
3 changed files with 18 additions and 3 deletions
|
@ -512,9 +512,6 @@ end
|
|||
|
||||
class Pathname # * File *
|
||||
|
||||
# See <tt>File.symlink</tt>. Creates a symbolic link.
|
||||
def make_symlink(old) File.symlink(old, @path) end
|
||||
|
||||
# See <tt>File.truncate</tt>. Truncate the file to +length+ bytes.
|
||||
def truncate(length) File.truncate(@path, length) end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue