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.



190
191
192
# File 'lib/inspec/resources/file.rb', line 190

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



189
190
191
# File 'lib/inspec/resources/file.rb', line 189

def inspec
  @inspec
end