Results for: "to_proc"

Same as IO.

Returns the number of native file system blocks allocated for this file, or nil if the operating system doesn’t support this feature.

File.stat("testfile").blocks   #=> 2

Returns true if stat is a zero-length file; false otherwise.

File.stat("testfile").zero?   #=> false

Returns true if stat is a socket, false if it isn’t or if the operating system doesn’t support this feature.

File.stat("testfile").socket?   #=> false

Returns true if the file is a block device, false if it isn’t or if the operating system doesn’t support this feature.

File.stat("testfile").blockdev?    #=> false
File.stat("/dev/hda1").blockdev?   #=> true

A set of tasks to prepare the file in order to parse it

No documentation available
No documentation available

Sends a LOCK request to the path and gets a response, as an HTTPResponse object.

Sends a UNLOCK request to the path and gets a response, as an HTTPResponse object.

Sends the GETQUOTAROOT command along with the specified mailbox. This command is generally available to both admin and user. If this mailbox exists, it returns an array containing objects of type Net::IMAP::MailboxQuotaRoot and Net::IMAP::MailboxQuota.

No documentation available
No documentation available
No documentation available

Inserts switch at the head of the list, and associates short, long and negated long options. Arguments are:

switch

OptionParser::Switch instance to be inserted.

short_opts

List of short style options.

long_opts

List of long style options.

nolong_opts

List of long style options with “no-” prefix.

prepend(switch, short_opts, long_opts, nolong_opts)

Opens a block for grouping objects to be pretty printed.

Arguments:

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

for debug

Returns the first advertised TupleSpace.

No documentation available
Search took: 2ms  ·  Total Results: 1700