Method: Mount#initialize
- Defined in:
- lib/resources/mount.rb
#initialize(path) ⇒ Mount
Returns a new instance of Mount.
23 24 25 26 27 |
# File 'lib/resources/mount.rb', line 23 def initialize(path) @path = path return skip_resource 'The `mount` resource is not supported on your OS yet.' if !inspec.os.linux? @file = inspec.backend.file(@path) end |