Class: QuitState

Inherits:
Object
  • Object
show all
Includes:
Messages
Defined in:
lib/smtp_states.rb

Instance Method Summary collapse

Methods included from Messages

#go_ahead, #goodbye, #greeting, #helo_response, #ok

Instance Method Details

#serve(io) ⇒ Object



112
113
114
115
116
117
# File 'lib/smtp_states.rb', line 112

def serve(io)
  read_quit(io)
  goodbye(io)

  :done
end