Class: Legion::Extensions::Agentic::Executive::Inhibition::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Executive::Inhibition::Client
- Includes:
- Runners::Inhibition
- Defined in:
- lib/legion/extensions/agentic/executive/inhibition/client.rb
Instance Attribute Summary collapse
-
#inhibition_store ⇒ Object
readonly
Returns the value of attribute inhibition_store.
Instance Method Summary collapse
-
#initialize(inhibition_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Inhibition
#check_stroop, #delay_gratification, #evaluate_impulse, #inhibition_history, #inhibition_stats, #update_inhibition, #willpower_status
Constructor Details
#initialize(inhibition_store: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/executive/inhibition/client.rb', line 19 def initialize(inhibition_store: nil, **) @inhibition_store = inhibition_store || Helpers::InhibitionStore.new end |
Instance Attribute Details
#inhibition_store ⇒ Object (readonly)
Returns the value of attribute inhibition_store.
17 18 19 |
# File 'lib/legion/extensions/agentic/executive/inhibition/client.rb', line 17 def inhibition_store @inhibition_store end |