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.



148
149
150
# File 'lib/inspec/resources/groups.rb', line 148

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



147
148
149
# File 'lib/inspec/resources/groups.rb', line 147

def inspec
  @inspec
end

Instance Method Details

#groupsObject



152
153
154
# File 'lib/inspec/resources/groups.rb', line 152

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