Sha256: b40073cb5509ad1705e921815578752a2dd8de7b11c4a99682e4d63d5863ec62

Contents?: true

Size: 184 Bytes

Versions: 47

Compression:

Stored size: 184 Bytes

Contents

require 'backports/tools/make_block_optional'

if RUBY_VERSION < '1.8.7'
  Backports.make_block_optional IO, :each_line, :force => true
  IO.send :alias_method, :lines, :each_line
end

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
backports-3.6.7 lib/backports/1.8.7/io/each_line.rb
backports-3.6.6 lib/backports/1.8.7/io/each_line.rb
backports-3.6.5 lib/backports/1.8.7/io/each_line.rb
backports-3.6.4 lib/backports/1.8.7/io/each_line.rb
backports-3.6.3 lib/backports/1.8.7/io/each_line.rb
backports-3.6.2 lib/backports/1.8.7/io/each_line.rb
backports-3.6.1 lib/backports/1.8.7/io/each_line.rb