summaryrefslogtreecommitdiff
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-25 13:11:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-25 13:11:43 +0000
commit2034fe610fd9da3781f4a1e39079128da812748c (patch)
tree53c5283a509e76e2ddd8ff490731bacc643c113b /ext/pathname/lib
parent2531892cbc997ae25a121e21cca321722ec663c3 (diff)
* 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
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r--ext/pathname/lib/pathname.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index 203fe93..0bc8e3b 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -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