This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# URI::Generic.host (from ruby core) --- Returns the host component of the URI. URI("http://foo/bar/baz").host #=> "foo" It returns nil if no host component exists. URI("mailto:foo@example.org").host #=> nil The component does not contain the port number. URI("http://foo:8080/bar/baz").host #=> "foo" Since IPv6 addresses are wrapped with brackets in URIs, this method returns IPv6 addresses wrapped with brackets. This form is not appropriate to pass to socket methods such as TCPSocket.open. If unwrapped host names are required, use the #hostname method. URI("http://[::1]/bar/baz").host #=> "[::1]" URI("http://[::1]/bar/baz").hostname #=> "::1"
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.