Method: Inspec::Resources::File#initialize
- Defined in:
- lib/resources/file.rb
#initialize(path) ⇒ File
Returns a new instance of File.
24 25 26 27 |
# File 'lib/resources/file.rb', line 24 def initialize(path) @path = path @file = inspec.backend.file(@path) end |