1
0
Fork 0
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:
akr 2010-08-12 14:39:46 +00:00
parent 98f53d5db2
commit 05d9fabda1
3 changed files with 18 additions and 3 deletions

View file

@ -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