Class: Legion::Gaia::RunnerHost
- Inherits:
-
Object
- Object
- Legion::Gaia::RunnerHost
- Defined in:
- lib/legion/gaia/runner_host.rb
Instance Attribute Summary collapse
-
#last_tick_result ⇒ Object
Returns the value of attribute last_tick_result.
Instance Method Summary collapse
-
#initialize(runner_module) ⇒ RunnerHost
constructor
A new instance of RunnerHost.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(runner_module) ⇒ RunnerHost
Returns a new instance of RunnerHost.
8 9 10 11 |
# File 'lib/legion/gaia/runner_host.rb', line 8 def initialize(runner_module) @runner_module = runner_module extend runner_module end |
Instance Attribute Details
#last_tick_result ⇒ Object
Returns the value of attribute last_tick_result.
6 7 8 |
# File 'lib/legion/gaia/runner_host.rb', line 6 def last_tick_result @last_tick_result end |
Instance Method Details
#inspect ⇒ Object
17 18 19 |
# File 'lib/legion/gaia/runner_host.rb', line 17 def inspect "#<#{self.class} module=#{@runner_module}>" end |
#to_s ⇒ Object
13 14 15 |
# File 'lib/legion/gaia/runner_host.rb', line 13 def to_s "RunnerHost(#{@runner_module})" end |