Module: Hector::Commands::Quit

Included in:
Session
Defined in:
lib/hector/commands/quit.rb

Instance Method Summary collapse

Instance Method Details

#on_quitObject



4
5
6
7
# File 'lib/hector/commands/quit.rb', line 4

def on_quit
  @quit_message = "Quit: #{request.text}"
  connection.close_connection(true)
end