class Bundler::URI::Generic

def coerce(oth)


#=> [#, #]
uri.coerce("http://foo.com")
uri = Bundler::URI.parse("http://my.example.com")

require 'bundler/vendor/uri/lib/uri'

== Usage

returns [parsed_oth, self].
Attempts to parse other Bundler::URI +oth+,

== Description

Bundler::URI or String
+v+::

== Args
def coerce(oth)
  case oth
  when String
    oth = parser.parse(oth)
  else
    super
  end
  return oth, self
end