diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-09 13:15:49 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-09 13:15:49 +0000 |
commit | ec5bb26fa031288fd8f935443805f68e5637ee75 (patch) | |
tree | 044e5291fb5eb8ed50ad75979ebf409be64de5d9 /ext/pathname/lib/pathname.rb | |
parent | 55584cb206746bd632ef13356cf88036cc59c353 (diff) | |
download | ruby-ec5bb26fa031288fd8f935443805f68e5637ee75.tar.gz |
* ext/pathname/pathname.c (path_open): Pathname#open
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index b685309e7c..197c9e6bf4 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -512,11 +512,6 @@ end class Pathname # * File * - # See <tt>File.open</tt>. Opens the file for reading or writing. - def open(*args, &block) # :yield: file - File.open(@path, *args, &block) - end - # See <tt>File.readlink</tt>. Read symbolic link. def readlink() self.class.new(File.readlink(@path)) end |