This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

coerce

        # URI::Generic.coerce

(from ruby core)
### Implementation from Generic
---
    coerce(oth)

---

## Args

`v`
:   URI or String


## Description

Attempts to parse other URI `oth`, returns [parsed_oth, self].

## Usage

    require 'uri'

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



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.