Results for: "module_function"

No documentation available

Routes respond_to? to the referenced remote object.

Routes respond_to? to the referenced remote object.

Example:

Foo::Bar
   ^^^^^
No documentation available

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

Sets the read timeout, in seconds, for self to integer sec; the initial value is 60.

Argument sec must be a non-negative numeric value:

http = Net::HTTP.new(hostname)
http.read_timeout # => 60
http.get('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
http.read_timeout = 0
http.get('/todos/1') # Raises Net::ReadTimeout.

Sets the write timeout, in seconds, for self to integer sec; the initial value is 60.

Argument sec must be a non-negative numeric value:

_uri = uri.dup
_uri.path = '/posts'
body = 'bar' * 200000
data = <<EOF
{"title": "foo", "body": "#{body}", "userId": "1"}
EOF
headers = {'content-type': 'application/json'}
http = Net::HTTP.new(hostname)
http.write_timeout # => 60
http.post(_uri.path, data, headers)
# => #<Net::HTTPCreated 201 Created readbody=true>
http.write_timeout = 0
http.post(_uri.path, data, headers) # Raises Net::WriteTimeout.

Executes a request which uses a representation and returns its body.

No documentation available

def contains_splat?: () -> bool

def inheritance_operator: () -> String?

def static_keys?: () -> bool

Return the character offset for the given byte offset.

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

No documentation available

GNU Readline waits for “keyseq-timeout” milliseconds to see if the ESC is followed by a character, and times out and treats it as a standalone ESC if the second character does not arrive. If the second character comes before timed out, it is treated as a modifier key with the meta-property of meta-key, so that it can be distinguished from multibyte characters with the 8th bit turned on.

GNU Readline will wait for the 2nd character with “keyseq-timeout” milli-seconds but wait forever after 3rd characters.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Editline

ed-unassigned This editor command always results in an error.

GNU Readline

There is no corresponding macro.

Search took: 5ms  ·  Total Results: 4789