Results for: "Logger"

Returns true; retained for compatibility.

Like Net::HTTP.get, but writes the returned body to $stdout; returns nil.

Like Net::HTTP.get, but returns a Net::HTTPResponse object instead of the body string.

Returns the user name of the proxy server, if defined, nil otherwise; see Proxy Server.

Sends a GET request to the server; forms the response into a Net::HTTPResponse object.

The request is based on the Net::HTTP::Get object created from string path and initial headers hash initheader.

With no block given, returns the response object:

http = Net::HTTP.new(hostname)
http.request_get('/todos') # => #<Net::HTTPOK 200 OK readbody=true>

With a block given, calls the block with the response object and returns the response object:

http.request_get('/todos') do |res|
  p res
end # => #<Net::HTTPOK 200 OK readbody=true>

Output:

#<Net::HTTPOK 200 OK readbody=false>
No documentation available
No documentation available

true if the response has a body.

def comment_targets: () -> Array[Node | Location]

Represents the location of the variable name.

@@target &&= value
^^^^^^^^

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader name_loc: Location

def comment_targets: () -> Array[Node | Location]

Search took: 4ms  ·  Total Results: 3406