mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
* ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b1f8574c7
commit
98f53d5db2
3 changed files with 15 additions and 3 deletions
|
@ -512,9 +512,6 @@ end
|
|||
|
||||
class Pathname # * File *
|
||||
|
||||
# See <tt>File.lstat</tt>.
|
||||
def lstat() File.lstat(@path) end
|
||||
|
||||
# See <tt>File.symlink</tt>. Creates a symbolic link.
|
||||
def make_symlink(old) File.symlink(old, @path) end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue