Class: KairosMcp::GuaranteesContext
- Inherits:
-
Object
- Object
- KairosMcp::GuaranteesContext
- Defined in:
- lib/kairos_mcp/skill_contexts.rb
Overview
Guarantees block context
Instance Attribute Summary collapse
-
#guarantees ⇒ Object
readonly
Returns the value of attribute guarantees.
Instance Method Summary collapse
-
#initialize ⇒ GuaranteesContext
constructor
A new instance of GuaranteesContext.
- #method_missing(name, *args) ⇒ Object
- #respond_to_missing?(name, include_private = false) ⇒ Boolean
Constructor Details
#initialize ⇒ GuaranteesContext
Returns a new instance of GuaranteesContext.
6 7 8 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 6 def initialize @guarantees = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
10 11 12 13 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 10 def method_missing(name, *args) @guarantees << name self end |
Instance Attribute Details
#guarantees ⇒ Object (readonly)
Returns the value of attribute guarantees.
4 5 6 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 4 def guarantees @guarantees end |
Instance Method Details
#respond_to_missing?(name, include_private = false) ⇒ Boolean
15 16 17 |
# File 'lib/kairos_mcp/skill_contexts.rb', line 15 def respond_to_missing?(name, include_private = false) true end |