Sha256: 510007ce3ab3f1d0945c48d3d36ac7f26a1c2aeded0a823fb891f81fe7ec7482

Contents?: true

Size: 267 Bytes

Versions: 215

Compression:

Stored size: 267 Bytes

Contents

if RUBY_VERSION < '1.9.2'

# :stopdoc:
class IO
  def self.binread(name, length = nil, offset = nil)
    return File.read name unless length || offset
    File.open(name, 'rb') { |f|
      f.seek offset if offset
      f.read length
    }
  end
end
# :startdoc:

end

Version data entries

215 entries across 171 versions & 24 rubygems

Version Path
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activesupport-3.2.22.5/lib/active_support/core_ext/io.rb
activesupport-3.2.22.5 lib/active_support/core_ext/io.rb
activesupport-3.2.22.4 lib/active_support/core_ext/io.rb
activesupport-3.2.22.3 lib/active_support/core_ext/io.rb
activesupport-3.2.22.2 lib/active_support/core_ext/io.rb
activesupport-3.2.22.1 lib/active_support/core_ext/io.rb
classiccms-0.7.5 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/io.rb
classiccms-0.7.4 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/io.rb
classiccms-0.7.3 vendor/bundle/gems/activesupport-3.2.3/lib/active_support/core_ext/io.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/core_ext/io.rb
activesupport-3.2.22 lib/active_support/core_ext/io.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.12/lib/active_support/core_ext/io.rb
activesupport-3.2.21 lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/core_ext/io.rb
activesupport-3.2.20 lib/active_support/core_ext/io.rb