Sha256: 3de7c3e655b543acee13e8b6a8e48f37e340b55b270815a5aceb566b180217ea

Contents?: true

Size: 239 Bytes

Versions: 14

Compression:

Stored size: 239 Bytes

Contents

if RUBY_VERSION < '1.8.7'
  class IO
    make_block_optional :each, :each_line, :each_byte
    class << self
      make_block_optional :foreach
    end
  end

  class << ARGF
    make_block_optional :each, :each_line, :each_byte
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
marcandre-backports-1.6.0 lib/backports/io.rb
marcandre-backports-1.6.1 lib/backports/io.rb
marcandre-backports-1.6.3 lib/backports/io.rb
marcandre-backports-1.6.4 lib/backports/io.rb
marcandre-backports-1.6.6 lib/backports/io.rb
marcandre-backports-1.6.7 lib/backports/io.rb
marcandre-backports-1.6.8 lib/backports/io.rb
backports-1.6.1 lib/backports/io.rb
backports-1.6.6 lib/backports/io.rb
backports-1.6.3 lib/backports/io.rb
backports-1.6.4 lib/backports/io.rb
backports-1.6.8 lib/backports/io.rb
backports-1.6.0 lib/backports/io.rb
backports-1.6.7 lib/backports/io.rb