Results for: "module_function"

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
}
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

The full path to the gem (install path + full name).

Full paths in the gem to add to $LOAD_PATH when this gem is activated.

The name of the configuration file.

No documentation available

Removes all installed gems from +@gemhome+.

Returns the source encoding name as a string.

Returns the source encoding name as a string.

No documentation available

Fully expand the name, even if the prefix wasn’t specified in the source file.

@return the previous sibling (nil if unset)

This method is used inside of several different objects to determine if special behavior is needed in the constructor.

Special behavior is needed if the array passed in as args has true or false as its value, and if the second element of args is a hash.

MRI specific feature

Return all reachable objects from root.

Sets the basic list of characters that signal a break between words for rl_complete_internal(). The default is the value of Readline.basic_word_break_characters.

Raises NotImplementedError if the using readline library does not support.

Gets the basic list of characters that signal a break between words for rl_complete_internal().

Raises NotImplementedError if the using readline library does not support.

Decode given str of URL-encoded form data.

This decodes + to SP.

See URI.encode_www_form_component, URI.decode_www_form

Quietly ensure the Gem directory dir contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.

If mode is given, missing directories are created with this mode.

World-writable directories will never be created.

Find a Gem::Specification of default gem from path

Search took: 5ms  ·  Total Results: 3558