Class: MeshChat::CLI::Exit

Inherits:
Command show all
Defined in:
lib/meshchat/cli/exit.rb

Constant Summary

Constants inherited from Command

Command::ADD, Command::CHAT, Command::CONFIG, Command::CONNECT, Command::DISPLAY, Command::EXIT, Command::EXPORT, Command::IDENTITY, Command::IMPORT, Command::INIT, Command::IRB, Command::LISTEN, Command::PING, Command::PING_ALL, Command::QUIT, Command::REMOVE, Command::RM, Command::SERVER, Command::SERVERS, Command::SET, Command::SHARE, Command::STOP_LISTENING, Command::WHO

Constants inherited from Input

Input::COMMAND, Input::WHISPER

Instance Attribute Summary

Attributes inherited from Command

#_input

Attributes inherited from Input

#_input

Instance Method Summary collapse

Methods inherited from Input

create, #initialize, is_command, is_whisper?

Constructor Details

This class inherits a constructor from MeshChat::CLI::Input

Instance Method Details

#handleObject



4
5
6
# File 'lib/meshchat/cli/exit.rb', line 4

def handle
  CLI.shutdown
end