Class: Inspec::Resources::GroupInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



145
146
147
# File 'lib/resources/groups.rb', line 145

def inspec
  @inspec
end

Instance Method Details

#groupsObject



150
151
152
# File 'lib/resources/groups.rb', line 150

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