Results for: "module_function"

Returns the ipv4_multicast_loop data in sockopt as an integer.

sockopt = Socket::Option.ipv4_multicast_loop(10)
p sockopt.ipv4_multicast_loop => 10
No documentation available
No documentation available

Set the default value for the :id_conv option.

See new(). The initial default value is a DRbIdConv instance.

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
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.

Sets up the base @gem, builds it and returns an installer for it.

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

Search took: 7ms  ·  Total Results: 3881