Class: LLM::Console::Command::Exit
- Inherits:
-
LLM::Console::Command
- Object
- LLM::Console::Command
- LLM::Console::Command::Exit
- Defined in:
- lib/llm/console/commands/exit.rb
Overview
The 'exit' command exits the interactive console by throwing. The LLM::Console class covers the loop with a catch that gracefully recovers and exits the loop.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from LLM::Console::Command
Instance Method Summary collapse
Methods inherited from LLM::Console::Command
complete, #complete, description, find_by, help, inherited, #initialize, name, parameter, #parameters, parameters, registry, required, #write, #write_message
Constructor Details
This class inherits a constructor from LLM::Console::Command
Instance Method Details
#call
This method returns an undefined value.
15 16 17 |
# File 'lib/llm/console/commands/exit.rb', line 15 def call throw(:exit) end |