* ext/pathname/pathname.c (path_binread): Pathname#binread translated

from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-08-25 13:11:43 +00:00
parent 2531892cbc
commit 2034fe610f
3 changed files with 25 additions and 4 deletions

View file

@ -485,10 +485,6 @@ end
class Pathname # * IO *
# See <tt>IO.binread</tt>. Returns all the bytes from the file, or the first +N+
# if specified.
def binread(*args) IO.binread(@path, *args) end
# See <tt>IO.readlines</tt>. Returns all the lines from the file.
def readlines(*args) IO.readlines(@path, *args) end