inspec/lib/vulcano/targets/file.rb
Dominik Richter 9ba4fb1d00 add configurable targets and backends
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-08-12 18:48:17 -07:00

13 lines
178 B
Ruby

# encoding: utf-8
class FileTarget
def handles?(target)
File::file?(target)
end
def resolve(target)
target
end
end
Vulcano::Targets.add_module(FileTarget.new)