Results for: "OptionParser"

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

Creates the following instance variables:

@spec

a spec named ‘a’, intended for regular installs

@gem

the path to a built gem from @spec

And returns a Gem::Installer for the @spec that installs into @gemhome

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

No documentation available

TODO: move to minitest

No documentation available
No documentation available

Set the platform to arch

ServerNameIndication callback

ServerNameIndication callback

No documentation available
No documentation available
No documentation available

Perform hostname verification following RFC 6125.

This method MUST be called after calling connect to ensure that the hostname of a remote peer has been verified.

Search took: 4ms  ·  Total Results: 4629