lib/cocaine/command_line/runners/backticks_runner.rb in cocaine-0.5.1 vs lib/cocaine/command_line/runners/backticks_runner.rb in cocaine-0.5.2
- old
+ new
@@ -3,9 +3,16 @@
require 'climate_control'
module Cocaine
class CommandLine
class BackticksRunner
+ def self.supported?
+ true
+ end
+
+ def supported?
+ self.class.supported?
+ end
def call(command, env = {})
with_modified_environment(env) do
`#{command}`
end