Class: R10K::Util::Subprocess::Runner Private
- Inherits:
-
Object
- Object
- R10K::Util::Subprocess::Runner
- Defined in:
- lib/r10k/util/subprocess/runner.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Define an abstract interface for external command runners.
Defined Under Namespace
Classes: JRuby, POSIX, Pump, Windows
Instance Attribute Summary collapse
-
#cwd ⇒ String
The directory to be used as the cwd when executing the command.
- #result ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(argv) ⇒ Runner
constructor
private
A new instance of Runner.
- #run ⇒ Object private
Constructor Details
#initialize(argv) ⇒ Runner
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Runner.
19 20 21 |
# File 'lib/r10k/util/subprocess/runner.rb', line 19 def initialize(argv) raise NotImplementedError end |
Instance Attribute Details
#cwd ⇒ String
Returns The directory to be used as the cwd when executing the command.
13 14 15 |
# File 'lib/r10k/util/subprocess/runner.rb', line 13 def cwd @cwd end |
#result ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/r10k/util/subprocess/runner.rb', line 17 def result @result end |
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/r10k/util/subprocess/runner.rb', line 23 def run raise NotImplementedError end |