Class: CloudfoundryBlueGreenDeploy::CommandLine
- Inherits:
-
Object
- Object
- CloudfoundryBlueGreenDeploy::CommandLine
- Defined in:
- lib/cloudfoundry_blue_green_deploy/command_line.rb
Constant Summary collapse
- DEBUG =
false
Class Method Summary collapse
Class Method Details
.backtick(command) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/cloudfoundry_blue_green_deploy/command_line.rb', line 4 def self.backtick(command) output = `export CF_COLOR=false; #{command}` puts "CommandLine.backtick(): \"#{output}\"" if DEBUG output end |
.system(command) ⇒ Object
11 12 13 |
# File 'lib/cloudfoundry_blue_green_deploy/command_line.rb', line 11 def self.system(command) Kernel.system(command) end |