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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



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

def inspec
  @inspec
end

Instance Method Details

#parse_mount_options(_mount_line, _compatibility = false) ⇒ Object

Raises:

  • (NotImplementedError)


80
81
82
# File 'lib/inspec/resources/mount.rb', line 80

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