Method: Inspec::Resources::ZfsDataset#initialize
- Defined in:
- lib/resources/zfs_dataset.rb
#initialize(zfs_dataset) ⇒ ZfsDataset
Returns a new instance of ZfsDataset.
18 19 20 21 22 23 |
# File 'lib/resources/zfs_dataset.rb', line 18 def initialize(zfs_dataset) return skip_resource 'The `zfs_dataset` resource is not supported on your OS yet.' if !inspec.os.bsd? @zfs_dataset = zfs_dataset @params = gather end |