lib/backports/1.9.1/io/try_convert.rb



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

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