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

authority

        # URI::HTTP.authority

(from ruby core)
### Implementation from HTTP
---
    authority()

---

## Description

Returns the authority for an HTTP uri, as defined in
https://datatracker.ietf.org/doc/html/rfc3986/#section-3.2.

Example:

    URI::HTTP.build(host: 'www.example.com', path: '/foo/bar').authority #=> "www.example.com"
    URI::HTTP.build(host: 'www.example.com', port: 8000, path: '/foo/bar').authority #=> "www.example.com:8000"
    URI::HTTP.build(host: 'www.example.com', port: 80, path: '/foo/bar').authority #=> "www.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.