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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



69
70
71
# File 'lib/inspec/resources/mount.rb', line 69

def inspec
  @inspec
end

Instance Method Details

#parse_mount_options(_mount_line, _compatibility = false) ⇒ Object

Raises:

  • (NotImplementedError)


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

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