Sha256: 5b1b9d0878a4c98228ece4ae71cb28a4472cbe52f9362e5681c652d7bc0438c6

Contents?: true

Size: 153 Bytes

Versions: 47

Compression:

Stored size: 153 Bytes

Contents

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

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

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
backports-3.6.7 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.6 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.5 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.4 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.3 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.2 lib/backports/1.9.1/io/try_convert.rb
backports-3.6.1 lib/backports/1.9.1/io/try_convert.rb