Class: LLM::Repl::Status Private
- Inherits:
-
Object
- Object
- LLM::Repl::Status
- Defined in:
- lib/llm/repl/status.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The LLM::Repl::Status class stores the small status line shown at the top of the REPL.
Instance Attribute Summary collapse
- #provider ⇒ String readonly private
- #text ⇒ void (also: #to_s) private
Instance Method Summary collapse
- #initialize(provider) ⇒ LLM::Repl::Status constructor private
Constructor Details
#initialize(provider) ⇒ LLM::Repl::Status
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 15 |
# File 'lib/llm/repl/status.rb', line 12 def initialize(provider) @provider = provider @text = "idle" end |
Instance Attribute Details
#provider ⇒ String (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 |
# File 'lib/llm/repl/status.rb', line 19 def provider @provider end |
#text ⇒ void Also known as: to_s
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
24 25 26 |
# File 'lib/llm/repl/status.rb', line 24 def text @text end |