Module: Mchat::Command::Quit::InstanceMethods

Defined in:
lib/mchat/commands/quit.rb

Instance Method Summary collapse

Instance Method Details

#quit_command_run(words = nil) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/mchat/commands/quit.rb', line 20

def quit_command_run(words=nil)
  _dispatch :leave_command_run
  _puts "Bye :D"
  sleep 1
  timeline_close_window
  exit 0
end

#quit_help_docObject



16
17
18
# File 'lib/mchat/commands/quit.rb', line 16

def quit_help_doc
  _puts QuitDoc
end