mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +00:00
bugfix: expose path in file resource
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
17259d9ddc
commit
3439a34d16
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ module Vulcano::Resources
|
|||
class File < Vulcano.resource(1)
|
||||
name 'file'
|
||||
|
||||
attr_reader :path
|
||||
def initialize(path)
|
||||
@path = path
|
||||
@file = vulcano.backend.file(@path)
|
||||
|
|
Loading…
Reference in a new issue