diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 15:20:35 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 15:20:35 +0000 |
commit | 7ce4d28dd613d26713e29cebe7f8fa4a66bbcd12 (patch) | |
tree | 5fcc88f493af271bdc4ab5c7e61f370e7ec1331b /lib | |
parent | 570c447db481ea19d680be5b3af14793f6adb3b8 (diff) | |
download | ruby-7ce4d28dd613d26713e29cebe7f8fa4a66bbcd12.tar.gz ruby-7ce4d28dd613d26713e29cebe7f8fa4a66bbcd12.tar.xz ruby-7ce4d28dd613d26713e29cebe7f8fa4a66bbcd12.zip |
* lib/pathname.rb (Pathname#foreachline): removed wrongly
resurrected method. [ruby-dev:38065]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pathname.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb index ce9179a16..e58035c2b 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -804,12 +804,6 @@ class Pathname # * IO * IO.foreach(@path, *args, &block) end - # Pathname#foreachline is *obsoleted* at 1.8.1. Use #each_line. - def foreachline(*args, &block) - warn "Pathname#foreachline is obsoleted. Use Pathname#each_line." - each_line(*args, &block) - end - # 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 |