Class: Zephira::Commands::Bye
- Inherits:
-
Object
- Object
- Zephira::Commands::Bye
- Defined in:
- lib/zephira/commands/bye.rb
Class Method Summary collapse
Class Method Details
.description ⇒ Object
11 12 13 |
# File 'lib/zephira/commands/bye.rb', line 11 def description "End the session and close the agent" end |
.name ⇒ Object
7 8 9 |
# File 'lib/zephira/commands/bye.rb', line 7 def name "bye" end |
.run(agent:, args:) ⇒ Object
15 16 17 18 |
# File 'lib/zephira/commands/bye.rb', line 15 def run(agent:, args:) puts "Bye!" exit(0) end |