Class: Inspec::Resources::MountsInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/inspec/resources/mount.rb

Direct Known Subclasses

BsdMounts, LinuxMounts

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ MountsInfo

Returns a new instance of MountsInfo.



72
73
74
# File 'lib/inspec/resources/mount.rb', line 72

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



71
72
73
# File 'lib/inspec/resources/mount.rb', line 71

def inspec
  @inspec
end

Instance Method Details

#parse_mount_options(_mount_line, _compatibility = false) ⇒ Object

Raises:

  • (NotImplementedError)


76
77
78
# File 'lib/inspec/resources/mount.rb', line 76

def parse_mount_options(_mount_line, _compatibility = false)
  raise NotImplementedError
end