# File lib/net/smtp.rb, line 522 def finish raise IOError, 'not yet started' unless started? do_finish end