Class: CmdQuit

Inherits:
CmdBase show all
Defined in:
lib/shell.rb

Overview

Command quit

Constant Summary collapse

NAME =
'quit'
ALIASES =
['q'].freeze
ARGUMENTS =
[].freeze
DESCRIPTION =
'Quit'

Instance Method Summary collapse

Methods inherited from CmdBase

#aliases, #arguments, #description, #initialize, #name

Constructor Details

This class inherits a constructor from CmdBase

Instance Method Details

#exec(_) ⇒ Object



100
101
102
# File 'lib/shell.rb', line 100

def exec(_)
  exit
end