Class: LLM::Repl::Command::Exit
- Inherits:
-
Command
- Object
- Command
- LLM::Repl::Command::Exit
- Defined in:
- lib/llm/repl/commands/exit.rb
Overview
The 'exit' command exits the read-eval-print loop by throwing. The LLM::Repl class covers the loop with a catch that gracefully recovers and exits the loop.
Instance Method Summary collapse
Instance Method Details
#call
This method returns an undefined value.
15 16 17 |
# File 'lib/llm/repl/commands/exit.rb', line 15 def call throw(:exit) end |