Method: Inspec::Resources::ZfsDataset#initialize

Defined in:
lib/inspec/resources/zfs_dataset.rb

#initialize(zfs_dataset) ⇒ ZfsDataset

Returns a new instance of ZfsDataset.



18
19
20
21
22
23
24
# File 'lib/inspec/resources/zfs_dataset.rb', line 18

def initialize(zfs_dataset)
  return skip_resource "The `zfs_dataset` resource is not supported on your OS yet." unless inspec.os.bsd?

  @zfs_dataset = zfs_dataset

  @params = gather
end