Adds name
with permissions mode
to the tar, yielding io
for writing the file. The digest_algorithm
is written to a read-only name
.sum file following the given file contents containing the digest name and hexdigest separated by a tab.
The created digest object is returned.
For a block.
Receive the section and its pairs for the current configuration.
config.each do |section, key, value| # ... end
See Zlib::GzipReader
documentation for a description.
See Zlib::GzipReader
documentation for a description.
Returns true
if the file is a character device, false
if it isn’t or if the operating system doesn’t support this feature.
File.stat("/dev/tty").chardev? #=> true
Iterates over keys and objects in a weakly referenced object
This method will fetch the field value by header
. It has the same behavior as Hash#fetch
: if there is a field with the given header
, its value is returned. Otherwise, if a block is given, it is yielded the header
and its result is returned; if a default
is given as the second argument, it is returned; otherwise a KeyError
is raised.
Yields each pair of the row as header and field tuples (much like iterating over a Hash
).
Support for Enumerable
.
This method returns the row for chaining.
In the default mixed mode or row mode, iteration is the standard row major walking of rows. In column mode, iteration will yield
two element tuples containing the column name and an Array of values for that column.
This method returns the table for chaining.
Matches addr
against this entry.
Matches addr
against each ACLEntry
in this list.
Sends a PATCH request to the path
and gets a response, as an HTTPResponse
object.
Sends a PROPPATCH request to the path
and gets a response, as an HTTPResponse
object.