Object
# File lib/cocaine/command_line/runners/fake_runner.rb, line 8 def initialize @commands = [] end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 12 def call(command, env = {}) commands << [command, env] "" end
# File lib/cocaine/command_line/runners/fake_runner.rb, line 17 def ran?(predicate_command) @commands.any?{|(command, env)| command =~ Regexp.new(predicate_command) } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.