Sha256: 9d7d6fddfbec89b062da8e481b558b15ec8e1a1124f0b0421117c28e410d5b85

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

require 'pp'
require 'stringio'
require 'test/unit'
$:.unshift  File.dirname(__FILE__) + '/../lib'


class StringIO_compat < StringIO
  def string(*args)
    s = super(*args)
    s.force_encoding("binary") if RUBY_VERSION >= "1.9"
    return s
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbkb-0.7.2 test/test_helper.rb
rbkb-0.7.1 test/test_helper.rb
rbkb-0.7.0 test/test_helper.rb