From f21230b4916955440028e54c73eb965a44980368 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 24 Aug 2010 13:08:00 +0000 Subject: * 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 --- ext/pathname/lib/pathname.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/pathname/lib/pathname.rb') 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 IO.read. Returns all data from the file, or the first +N+ bytes - # if specified. - def read(*args) IO.read(@path, *args) end # See IO.binread. Returns all the bytes from the file, or the first +N+ # if specified. -- cgit v1.2.3