Results for: "Pathname"

Sets the IP address for the connection:

http = Net::HTTP.new(hostname)
http.ipaddr # => nil
http.ipaddr = '172.67.155.76'
http.ipaddr # => "172.67.155.76"

The IP address may not be set if the session has been started.

No documentation available
No documentation available

Description

Returns the authority for an HTTP uri, as defined in www.rfc-editor.org/rfc/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"

Completion for hash key.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

def operator: () -> String

def operator: () -> String

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

A Location instance that represents the location of this node in the source.

Delegates to the comments of the associated location object.

def operator: () -> String

def operator: () -> String

def operator: () -> String?

Search took: 2ms  ·  Total Results: 3460