= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
finish()
Finishes the SMTP session and closes TCP connection. Raises IOError if not started.
# File lib/net/smtp.rb, line 538 def finish raise IOError, 'not yet started' unless started? do_finish end