(re)add debug for mock backend

This commit is contained in:
Christoph Hartmann 2015-09-03 17:51:08 +02:00
parent cf77e56118
commit a206d0ef09

View file

@ -11,6 +11,7 @@ module Vulcano::Backends
end
def file(path)
puts "--> get file #{path}"
newpath = @mapping[path]
if newpath != nil
@files[path] ||= File.new(self, newpath, false)
@ -20,6 +21,7 @@ module Vulcano::Backends
end
def run_command(cmd)
puts "--> run command #{cmd}"
Command.new(self, cmd)
end