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.



163
164
165
# File 'lib/inspec/resources/groups.rb', line 163

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



162
163
164
# File 'lib/inspec/resources/groups.rb', line 162

def inspec
  @inspec
end

Instance Method Details

#groupsObject



167
168
169
# File 'lib/inspec/resources/groups.rb', line 167

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