Class: RubynCode::CLI::Commands::Quit
- Defined in:
- lib/rubyn_code/cli/commands/quit.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.aliases ⇒ Object
9 |
# File 'lib/rubyn_code/cli/commands/quit.rb', line 9 def self.aliases = ['/exit', '/q'].freeze |
.command_name ⇒ Object
7 |
# File 'lib/rubyn_code/cli/commands/quit.rb', line 7 def self.command_name = '/quit' |
.description ⇒ Object
8 |
# File 'lib/rubyn_code/cli/commands/quit.rb', line 8 def self.description = 'Exit Rubyn Code' |
Instance Method Details
#execute(_args, _ctx) ⇒ Object
11 12 13 |
# File 'lib/rubyn_code/cli/commands/quit.rb', line 11 def execute(_args, _ctx) :quit end |