diff options
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 |