Enters exclusive section.
Leaves exclusive section.
Returns true if this monitor is locked by any thread
Returns true if this monitor is locked by current thread.
Initializes the MonitorMixin
after being included in a class or when an object has been extended with the MonitorMixin
Return the number of observers associated with this object.
Returns a Hash
of the defined schemes
The version of the Marshal
format for your Ruby.
Adds a hook that will get run after Gem::Specification.reset
is run.
A Gem::Version
for the currently running Ruby.
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 }
CRAM-MD5: [RFC2195]
Reads text, substituting entities
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby and rubygems versions are met and that dependencies are installed.
Version and dependency checks are skipped if this install is forced.
The dependent check will be skipped if the install is ignoring dependencies.
Installs from the gem dependencies files in the :gemdeps
option in options
, yielding to the block
as in install
.
If :without_groups
is given in the options
, those groups in the gem dependencies file are not used. See Gem::Installer
for other options
.
Builds and installs the Gem::Specification
spec
into the user dir
Installs the provided default specs including writing the spec file
private functions