Mixin module providing HTML generation methods.
For example,
cgi.a("http://www.example.com") { "Example" } # => "<A HREF=\"http://www.example.com\">Example</A>"
Modules Html3, Html4, etc., contain more basic HTML-generation methods (title, h1, etc.).
See class CGI
for a detailed example.
This module has all methods of FileUtils
module, but it outputs messages before acting. This equates to passing the :verbose
flag to methods in FileUtils
.
Logging severity.
Flags for integer nodes that correspond to the base of the integer.
Flags for shareable constant nodes.
A module responsible for deserializing parse results.
Mixin methods for commands that work with gemspecs.
This module is used for safely loading Marshal
specs from a gem. The ‘safe_load` method defined on this module is specifically designed for loading Gem
specifications.
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.
Configuration options for dumping YAML
.
An optional constant field represents a constant value on a node that may or may not be present. It resolves to either a symbol or nil in Ruby.
This is the JSON
parser implemented as a C extension. It can be configured to be used by setting
JSON.parser = JSON::Ext::Parser
with the method parser= in JSON
.
Class for representing HTTP method OPTIONS:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Options.new(uri) # => #<Net::HTTP::Options OPTIONS> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Properties:
Request body: optional.
Response body: yes.
Safe: yes.
Idempotent: yes.
Cacheable: no.
Related:
Net::HTTP#options
: sends OPTIONS
request, returns response object.
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 optional node field represents a single child node in the syntax tree that may or may not be present. It resolves to either a Prism::Node
or nil in Ruby.
This class is the entry-point for converting a prism syntax tree into the whitequark/parser gem’s syntax tree. It inherits from the base parser for the parser gem, and overrides the parse* methods to parse with prism and then translate.
This class is the entry-point for Ruby 3.3 of ‘Prism::Translation::Parser`.
This class is the entry-point for Ruby 3.4 of ‘Prism::Translation::Parser`.
This module is the entry-point for converting a prism syntax tree into the seattlerb/ruby_parser gem’s syntax tree.