# File lib/cocaine/command_line/runners/fake_runner.rb, line 15 def initialize @commands = [] end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 5 def self.supported? false end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 19 def call(command, env = {}) commands << [command, env] "" end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 24 def ran?(predicate_command) @commands.any?{|(command, env)| command =~ Regexp.new(predicate_command) } end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 9 def supported? self.class.supported? end