Class: Legion::Extensions::Agentic::Affect::Fatigue::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Affect::Fatigue::Client
- Includes:
- Runners::Fatigue, Helpers::Lex
- Defined in:
- lib/legion/extensions/agentic/affect/fatigue/client.rb
Instance Attribute Summary collapse
-
#fatigue_store ⇒ Object
readonly
Returns the value of attribute fatigue_store.
Instance Method Summary collapse
-
#initialize(fatigue_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Fatigue
#energy_forecast, #energy_status, #enter_rest, #exit_rest, #fatigue_stats, #update_fatigue
Constructor Details
#initialize(fatigue_store: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/affect/fatigue/client.rb', line 19 def initialize(fatigue_store: nil, **) @fatigue_store = fatigue_store || Helpers::FatigueStore.new end |
Instance Attribute Details
#fatigue_store ⇒ Object (readonly)
Returns the value of attribute fatigue_store.
17 18 19 |
# File 'lib/legion/extensions/agentic/affect/fatigue/client.rb', line 17 def fatigue_store @fatigue_store end |