Class: Mattock::PrereqChain
- Inherits:
-
CommandChain
- Object
- CommandLine
- CommandChain
- Mattock::PrereqChain
- Defined in:
- lib/mattock/command-line.rb
Instance Attribute Summary
Attributes inherited from CommandChain
Attributes inherited from CommandLine
Instance Method Summary (collapse)
Methods inherited from CommandChain
Methods inherited from CommandLine
#copy_stream_to, emit_recording, execute, #initialize, #must_succeed!, original_execute, #redirect_from, #redirect_stderr, #redirect_stdin, #redirect_stdout, #redirect_to, #run, #succeeds?, #verbose
Constructor Details
This class inherits a constructor from Mattock::CommandChain
Instance Method Details
- (Object) command
152 153 154 |
# File 'lib/mattock/command-line.rb', line 152 def command @commands.map{|cmd| cmd.command}.join(" && ") end |