Results for: "to_proc"

Raised if the mask given to a binary operation is invalid, e.g. zero length or overlaps the target buffer.

Class for representing WebDAV method LOCK:

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

See Request Headers.

Related:

Class for representing WebDAV method UNLOCK:

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

See Request Headers.

Related:

An error class raised when dynamic parts are found while computing a constant path’s full name. For example: Foo::Bar::Baz -> does not raise because all parts of the constant path are simple constants var::Bar::Baz -> raises because the first part of the constant path is a local variable

An error class raised when missing nodes are found while computing a constant path’s full name. For example:

Foo

-> raises because the constant path is missing the last part

An object to represent the set of errors on a parse result. This object can be used to format the errors in a human-readable way.

Raised when the query given to a pattern is either invalid Ruby syntax or is using syntax that we don’t yet support.

A location field represents the location of some part of the node in the source code. For example, the location of a keyword or an operator. It resolves to a Prism::Location in Ruby.

An optional location field represents the location of some part of the node in the source code that may or may not be present. It resolves to either a Prism::Location or nil in Ruby.

A field representing the start and end character offsets.

Indicates that the DNS response was unable to be decoded.

Indicates that the DNS request was unable to be encoded.

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
No documentation available
No documentation available

Raised when a tar file is corrupt

A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.

Search took: 6ms  ·  Total Results: 2407