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.

Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.

Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.

Return the character offset for the given byte offset.

Return the column number in characters for the given byte offset.

Return the character offset for the given byte offset.

Return the column number in characters for the given byte offset.

Returns a string representation of the syntax tree with the errors displayed inline.

Raise an error because the given node is not supported.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Search took: 5ms  ·  Total Results: 2278