Sha256: d74c6abfe88333950d285a5e59dd8017c38552e57025b3c85c5d4ad74cafc66c

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'

f = File.open(__FILE__, 'r') do |f|
  line_number = 1
  while (l = f.gets)
    puts "encoding: #{l.encoding.inspect}"
    STDOUT.puts '%03d %s' % [line_number, l]
    line_number += 1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polyphony-0.19 examples/io/cat.rb
polyphony-0.17 examples/io/cat.rb