Class: OllamaAgent::RuntimeCommandSystem::CommandRegistry::CommandSpec
- Inherits:
-
Struct
- Object
- Struct
- OllamaAgent::RuntimeCommandSystem::CommandRegistry::CommandSpec
- Defined in:
- lib/ollama_agent/runtime_command_system/command_registry.rb
Instance Attribute Summary collapse
-
#completer ⇒ Object
Returns the value of attribute completer.
-
#description ⇒ Object
Returns the value of attribute description.
-
#executor ⇒ Object
Returns the value of attribute executor.
-
#name ⇒ Object
Returns the value of attribute name.
-
#validator ⇒ Object
Returns the value of attribute validator.
Instance Method Summary collapse
Instance Attribute Details
#completer ⇒ Object
Returns the value of attribute completer
7 8 9 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 7 def completer @completer end |
#description ⇒ Object
Returns the value of attribute description
7 8 9 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 7 def description @description end |
#executor ⇒ Object
Returns the value of attribute executor
7 8 9 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 7 def executor @executor end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 7 def name @name end |
#validator ⇒ Object
Returns the value of attribute validator
7 8 9 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 7 def validator @validator end |
Instance Method Details
#slash_name ⇒ Object
8 9 10 |
# File 'lib/ollama_agent/runtime_command_system/command_registry.rb', line 8 def slash_name name.to_s.start_with?("/") ? name.to_s : "/#{name}" end |