Results for: "OptionParser"

Enters exclusive section.

Enters exclusive section and executes the block. Leaves the exclusive section automatically when the block exits. See example under MonitorMixin.

Initializes the MonitorMixin after being included in a class or when an object has been extended with the MonitorMixin

Reset the dir and path values. The next time dir or path is requested, the values will be calculated from scratch. This is mainly used by the unit tests to provide test isolation.

Glob pattern for require-able path suffixes.

Use the home and paths values for Gem.dir and Gem.path. Used mainly by the unit tests to provide environment isolation.

The home directory for the user.

Path for gems in the user’s home directory

No documentation available
No documentation available

Adds a response handler. For example, to detect when the server sends a new EXISTS response (which normally indicates new messages being added to the mailbox), add the following handler after selecting the mailbox:

imap.add_response_handler { |resp|
  if resp.kind_of?(Net::IMAP::UntaggedResponse) and resp.name == "EXISTS"
    puts "Mailbox now has #{resp.data} messages"
  end
}

Removes the response handler.

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

Finds all gems that satisfy dep

TODO: move to minitest

No documentation available
No documentation available

Set the platform to arch

No documentation available
No documentation available
No documentation available
No documentation available
Search took: 5ms  ·  Total Results: 4130