diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-24 13:08:00 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-24 13:08:00 +0000 |
commit | f21230b4916955440028e54c73eb965a44980368 (patch) | |
tree | fbefe3feacd0a015b1f429fe9339ace5cff5fc12 /ext/pathname/lib/pathname.rb | |
parent | f2ff3eb6ec1473f0ec584557a32315ff74f8ef91 (diff) |
* ext/pathname/pathname.c (path_read): Pathname#read translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 3099b2b8f4..203fe930fc 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -484,9 +484,6 @@ class Pathname end class Pathname # * IO * - # See <tt>IO.read</tt>. Returns all data from the file, or the first +N+ bytes - # if specified. - def read(*args) IO.read(@path, *args) end # See <tt>IO.binread</tt>. Returns all the bytes from the file, or the first +N+ # if specified. |