Results for: "OptionParser"

CSV::InputsScanner receives IO inputs, encoding and the chunk_size. It also controls the life cycle of the object with its methods keep_start, keep_end, keep_back, keep_drop.

CSV::InputsScanner.scan() tries to match with pattern at the current position. If there’s a match, the scanner advances the “scan pointer” and returns the matched string. Otherwise, the scanner returns nil.

CSV::InputsScanner.rest() returns the “rest” of the string (i.e. everything after the scan pointer). If there is no more data (eos? = true), it returns “”.

Class for representing WebDAV method PROPPATCH:

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

See Request Headers.

Related:

If we have an identifier that follows a method name like:

def foo bar

then Ripper will mark bar as END|LABEL if there is a local in a parent scope named bar because it hasn’t pushed the local table yet. We do this more accurately, so we need to allow comparing against both END and END|LABEL.

This class mirrors the ::Ripper::SexpBuilder subclass of ::Ripper that returns the arrays of [type, *children].

This class mirrors the ::Ripper::SexpBuilderPP subclass of ::Ripper that returns the same values as ::Ripper::SexpBuilder except with a couple of niceties that flatten linked lists into arrays.

No documentation available
No documentation available

SvcParams for service binding RRs. [RFC9460]

Base class for SvcParam. [RFC9460]

No documentation available
No documentation available

This class is used by rubygems to build Rust extensions. It is a thin-wrapper over the ‘cargo rustc` command which takes care of building Rust code in a way that Ruby can use.

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

Raised when a tar file is corrupt

IO wrapper that creates digests of contents written to the IO it wraps.

A header for a tar file

TarReader reads tar files and allows iteration over their items

Allows writing of tar files

A ComposedSet allows multiple sets to be queried like a single set.

To create a composed set with any number of sets use:

Gem::Resolver.compose_sets set1, set2

This method will eliminate nesting of composed sets.

A VendorSet represents gems that have been unpacked into a specific directory that contains a gemspec.

This is used for gem dependency file support.

Example:

set = Gem::Resolver::VendorSet.new

set.add_vendor_gem 'rake', 'vendor/rake'

The directory vendor/rake must contain an unpacked rake gem along with a rake.gemspec (watching the given name).

No documentation available
No documentation available
Search took: 7ms  ·  Total Results: 5424