Returns the ipv4_multicast_loop
data in sockopt as an integer.
sockopt = Socket::Option.ipv4_multicast_loop(10) p sockopt.ipv4_multicast_loop => 10
Set
the default value for the :id_conv option.
See new(). The initial default value is a DRbIdConv
instance.
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 }
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.
Removes all installed gems from +@gemhome+.
Returns the source encoding name as a string.
Returns the source encoding name as a string.
Fully expand the name, even if the prefix wasn’t specified in the source file.