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.



182
183
184
# File 'lib/inspec/resources/groups.rb', line 182

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



181
182
183
# File 'lib/inspec/resources/groups.rb', line 181

def inspec
  @inspec
end

Instance Method Details

#groupsObject



186
187
188
# File 'lib/inspec/resources/groups.rb', line 186

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