Class: Inspec::Resources::GroupInfo

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

Direct Known Subclasses

DarwinGroup, UnixGroup, WindowsGroup

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ GroupInfo

Returns a new instance of GroupInfo.



191
192
193
# File 'lib/inspec/resources/groups.rb', line 191

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



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

def inspec
  @inspec
end

Instance Method Details

#groupsObject



195
196
197
# File 'lib/inspec/resources/groups.rb', line 195

def groups
  raise "group provider must implement the `groups` method"
end