Class: Legion::Extensions::MindGrowth::Actor::GrowthCycle
- Inherits:
-
Actors::Every
- Object
- Actors::Every
- Legion::Extensions::MindGrowth::Actor::GrowthCycle
- Defined in:
- lib/legion/extensions/mind_growth/actors/growth_cycle.rb
Overview
rubocop:disable Legion/Extension/EveryActorRequiresTime
Instance Method Summary collapse
- #check_subtask? ⇒ Boolean
-
#enabled? ⇒ Boolean
rubocop:disable Legion/Extension/ActorEnabledSideEffects.
- #generate_task? ⇒ Boolean
- #run_now? ⇒ Boolean
- #runner_class ⇒ Object
- #runner_function ⇒ Object
- #time ⇒ Object
- #use_runner? ⇒ Boolean
Instance Method Details
#check_subtask? ⇒ Boolean
34 35 36 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 34 def check_subtask? true end |
#enabled? ⇒ Boolean
rubocop:disable Legion/Extension/ActorEnabledSideEffects
22 23 24 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 22 def enabled? # rubocop:disable Legion/Extension/ActorEnabledSideEffects codegen_loaded? || exec_loaded? end |
#generate_task? ⇒ Boolean
38 39 40 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 38 def generate_task? false end |
#run_now? ⇒ Boolean
26 27 28 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 26 def run_now? false end |
#runner_class ⇒ Object
10 11 12 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 10 def runner_class Legion::Extensions::MindGrowth::Runners::Orchestrator end |
#runner_function ⇒ Object
14 15 16 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 14 def runner_function 'run_growth_cycle' end |
#time ⇒ Object
18 19 20 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 18 def time 3600 end |
#use_runner? ⇒ Boolean
30 31 32 |
# File 'lib/legion/extensions/mind_growth/actors/growth_cycle.rb', line 30 def use_runner? false end |