Class: Inspec::Resources::FilePermissions

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

Direct Known Subclasses

UnixFilePermissions, WindowsFilePermissions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ FilePermissions

Returns a new instance of FilePermissions.



240
241
242
# File 'lib/inspec/resources/file.rb', line 240

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



239
240
241
# File 'lib/inspec/resources/file.rb', line 239

def inspec
  @inspec
end