Sha256: 9b33b5186f8268acdb40df5c153cbe8e28f6202b6c889c015b1a52f227bf1985

Contents?: true

Size: 143 Bytes

Versions: 26

Compression:

Stored size: 143 Bytes

Contents

unless IO.respond_to? :try_convert
  require 'backports/tools'

  def IO.try_convert(obj)
    Backports.try_convert(obj, IO, :to_io)
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
scout_realtime-1.0.5 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.4 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.3 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.3.pre lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.2 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.1 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-1.0.0 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.5 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.5.pre lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.4 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
backports-3.6.0 lib/backports/1.9.1/io/try_convert.rb
backports-3.5.0 lib/backports/1.9.1/io/try_convert.rb
backports-3.4.1 lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.3 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.2 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
scout_realtime-0.5.1 lib/vendor/backports-3.3.5/lib/backports/1.9.1/io/try_convert.rb
backports-3.4.0 lib/backports/1.9.1/io/try_convert.rb
backports-3.3.5 lib/backports/1.9.1/io/try_convert.rb
backports-3.3.4 lib/backports/1.9.1/io/try_convert.rb
backports-3.3.3 lib/backports/1.9.1/io/try_convert.rb