Class: KairosMcp::GuaranteesContext

Inherits:
Object
  • Object
show all
Defined in:
lib/kairos_mcp/skill_contexts.rb

Overview

Guarantees block context

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGuaranteesContext

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

#guaranteesObject (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

Returns:

  • (Boolean)


15
16
17
# File 'lib/kairos_mcp/skill_contexts.rb', line 15

def respond_to_missing?(name, include_private = false)
  true
end