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.5.6.beta5 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta4 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta3 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta2 lib/awestruct/compatibility.rb
awestruct-0.5.6.beta lib/awestruct/compatibility.rb
awestruct-0.5.5 lib/awestruct/compatibility.rb
awestruct-0.5.4.2 lib/awestruct/compatibility.rb
awestruct-0.5.4.1 lib/awestruct/compatibility.rb
awestruct-0.5.4 lib/awestruct/compatibility.rb
awestruct-0.5.4.rc3 lib/awestruct/compatibility.rb
awestruct-0.5.4.rc2 lib/awestruct/compatibility.rb
awestruct-0.5.4.rc lib/awestruct/compatibility.rb