Sha256: 5d942679cd15de7b676435221c58fe79883800b7a3c221e0d75dd84b47aeb885

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

# encoding: UTF-8
require 'bzip2_ext'

# back-port 1.9 method so the tests will pass in 1.8 as well
if RUBY_VERSION.include?("1.8")
  class String
    def getbyte(idx)
      self[idx]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bzip2-ruby-0.2.5 spec/spec_helper.rb
bzip2-ruby-0.2.6 spec/spec_helper.rb