Class: Nonnative::Runner
- Inherits:
-
Object
- Object
- Nonnative::Runner
- Defined in:
- lib/nonnative/runner.rb
Overview
Base runtime wrapper for a configured runnable unit.
A runner wraps a configuration object (a subclass of ConfigurationRunner) and exposes lifecycle behavior via specialized subclasses:
Instance Method Summary collapse
-
#initialize(service) ⇒ Runner
constructor
A new instance of Runner.
-
#name ⇒ String?
Returns the configured runner name.
Constructor Details
#initialize(service) ⇒ Runner
Returns a new instance of Runner.
18 19 20 |
# File 'lib/nonnative/runner.rb', line 18 def initialize(service) @service = service end |
Instance Method Details
#name ⇒ String?
Returns the configured runner name.
25 26 27 |
# File 'lib/nonnative/runner.rb', line 25 def name service.name end |