mirror of
https://github.com/inspec/inspec
synced 2024-11-30 08:30:39 +00:00
13 lines
No EOL
258 B
Ruby
13 lines
No EOL
258 B
Ruby
# 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 |