Class: Inspec::Resources::Groups
- Inherits:
-
Object
- Object
- Inspec::Resources::Groups
- Includes:
- GroupManagementSelector
- Defined in:
- lib/inspec/resources/groups.rb
Instance Method Summary collapse
-
#initialize ⇒ Groups
constructor
A new instance of Groups.
- #to_s ⇒ Object
Methods included from GroupManagementSelector
Constructor Details
#initialize ⇒ Groups
Returns a new instance of Groups.
56 57 58 59 60 |
# File 'lib/inspec/resources/groups.rb', line 56 def initialize # select group manager @group_provider = select_group_manager(inspec.os) return skip_resource "The `groups` resource is not supported on your OS yet." if @group_provider.nil? end |
Instance Method Details
#to_s ⇒ Object
71 72 73 |
# File 'lib/inspec/resources/groups.rb', line 71 def to_s "Groups" end |