Class: Messed::Interface::Runner
- Inherits:
-
Object
- Object
- Messed::Interface::Runner
- Defined in:
- lib/messed/interface/runner.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#runnable ⇒ Object
readonly
Returns the value of attribute runnable.
Instance Method Summary collapse
-
#initialize(runnable, options) ⇒ Runner
constructor
A new instance of Runner.
- #start ⇒ Object
Constructor Details
#initialize(runnable, options) ⇒ Runner
Returns a new instance of Runner.
9 10 11 12 |
# File 'lib/messed/interface/runner.rb', line 9 def initialize(runnable, ) @runnable = runnable @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/messed/interface/runner.rb', line 7 def @options end |
#runnable ⇒ Object (readonly)
Returns the value of attribute runnable.
7 8 9 |
# File 'lib/messed/interface/runner.rb', line 7 def runnable @runnable end |
Instance Method Details
#start ⇒ Object
14 15 16 |
# File 'lib/messed/interface/runner.rb', line 14 def start runnable.start([:detach]) end |