Results for: "remove_const"

No documentation available
No documentation available
No documentation available

Indicates some other unhandled resolver error was encountered.

No documentation available

Generic Exception class that is raised if an error occurs during a Digest operation.

No documentation available

Generic exception class of the Timestamp module.

No documentation available
No documentation available

TimeStamp struct

Raised when the buffer cannot be allocated for some reason, or you try to use a buffer that’s not allocated.

Raised when encoding is invalid.

No documentation available

Class for representing HTTP method POST:

require 'net/http'
uri = URI('http://example.com')
hostname = uri.hostname # => "example.com"
uri.path = '/posts'
req = Net::HTTP::Post.new(uri) # => #<Net::HTTP::Post POST>
req.body = '{"title": "foo","body": "bar","userId": 1}'
req.content_type = 'application/json'
res = Net::HTTP.start(hostname) do |http|
  http.request(req)
end

See Request Headers.

Properties:

Related:

Class for representing WebDAV method MKCOL:

require 'net/http'
uri = URI('http://example.com')
hostname = uri.hostname # => "example.com"
req = Net::HTTP::Mkcol.new(uri) # => #<Net::HTTP::Mkcol MKCOL>
res = Net::HTTP.start(hostname) do |http|
  http.request(req)
end

See Request Headers.

Related:

Class for representing WebDAV method COPY:

require 'net/http'
uri = URI('http://example.com')
hostname = uri.hostname # => "example.com"
req = Net::HTTP::Copy.new(uri) # => #<Net::HTTP::Copy COPY>
res = Net::HTTP.start(hostname) do |http|
  http.request(req)
end

See Request Headers.

Related:

Switch that can omit argument.

When we’ve parsed the source, we have both the syntax tree and the list of comments that we found in the source. This class is responsible for walking the tree and finding the nearest location to attach each comment.

It does this by first finding the nearest locations to each comment. Locations can either come from nodes directly or from location fields on nodes. For example, a ‘ClassNode` has an overall location encompassing the entire class, but it also has a location for the `class` keyword.

Once the nearest locations are found, it determines which one to attach to. If it’s a trailing comment (a comment on the same line as other source code), it will favor attaching to the nearest location that occurs before the comment. Otherwise it will favor attaching to the nearest location that is after the comment.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Indicates that the DNS response was unable to be decoded.

Search took: 7ms  ·  Total Results: 4862