Sha256: c2206f5b83df4c0d38f0cd7d73372e878848909d448e112c8b8d22ace5350021

Contents?: true

Size: 109 Bytes

Versions: 32

Compression:

Stored size: 109 Bytes

Contents

unless File.respond_to?(:binread)
  def File.binread(file)
    File.open(file,"rb") { |f| f.read }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
awestruct-0.6.7 lib/awestruct/compatibility.rb
awestruct-0.6.6 lib/awestruct/compatibility.rb
awestruct-0.6.5 lib/awestruct/compatibility.rb
awestruct-0.6.4 lib/awestruct/compatibility.rb
awestruct-0.6.3 lib/awestruct/compatibility.rb
awestruct-0.6.2 lib/awestruct/compatibility.rb
awestruct-0.6.1 lib/awestruct/compatibility.rb
awestruct-0.6.0 lib/awestruct/compatibility.rb
awestruct-0.6.0.RC1 lib/awestruct/compatibility.rb
awestruct-0.6.0.alpha4 lib/awestruct/compatibility.rb
awestruct-0.6.0.alpha3 lib/awestruct/compatibility.rb
awestruct-0.6.0.alpha1 lib/awestruct/compatibility.rb
awestruct-0.5.7 lib/awestruct/compatibility.rb
awestruct-0.5.7.RC2 lib/awestruct/compatibility.rb
awestruct-0.5.7.RC1 lib/awestruct/compatibility.rb
awestruct-0.5.6 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta9 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta8 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta7 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta6 lib/awestruct/compatibility.rb