inspec/lib/resources/file.rb

13 lines
258 B
Ruby
Raw Normal View History

2015-07-15 13:15:18 +00:00
# encoding: utf-8
# copyright: 2015, Vulcano Security GmbH
# license: All rights reserved
module Serverspec::Type
class File < Base
# Overwrite the to_s method to show path
# instead of type
def to_s
%Q.Path "#{@name}".
end
end
end