RubyVM::AbstractSyntaxTree::Node
instances are created by parse methods in RubyVM::AbstractSyntaxTree
.
This class is MRI specific.
Extends Fiddle::Closure
to allow for building the closure in a block
Generic error class raised by SSLSocket
and SSLContext
.
Raised when the data length recorded in the gzip file footer is not equivalent to the length of the actual uncompressed data.
File-based session storage class.
Implements session storage as a flat file of ‘key=value’ values. This storage type only works directly with String
values; the user is responsible for converting other types to Strings when storing and from Strings when retrieving.
In-memory session storage class.
Implements session storage as a global in-memory hash. Session
data will only persist for as long as the Ruby interpreter instance does.
Dummy session storage class.
Implements session storage place holder. No actual storage will be done.
Class for representing HTTP method DELETE:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" uri.path = '/posts/1' req = Net::HTTP::Delete.new(uri) # => #<Net::HTTP::Delete DELETE> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Properties:
Request body: optional.
Response body: yes.
Safe: no.
Idempotent: yes.
Cacheable: no.
Related:
Net::HTTP#delete
: sends DELETE
request, returns response object.
Class for representing WebDAV method MOVE:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Move.new(uri) # => #<Net::HTTP::Move MOVE> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Related:
Net::HTTP#move
: sends MOVE
request, returns response object.
A result class specialized for holding tokens produced by the lexer.
A node field represents a single child node in the syntax tree. It resolves to a Prism::Node
in Ruby.
A node list field represents a list of child nodes in the syntax tree. It resolves to an array of Prism::Node
instances in Ruby.
A source that is represented by a file path.
A field that represents the file path.
A field representing the leading comments.
Indicates that the DNS
response was unable to be decoded.