Class: Inspec::Resources::Groups
- Inherits:
-
Object
- Object
- Inspec::Resources::Groups
- Includes:
- GroupManagementSelector
- Defined in:
- lib/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.
43 44 45 46 47 |
# File 'lib/resources/groups.rb', line 43 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
59 60 61 |
# File 'lib/resources/groups.rb', line 59 def to_s 'Groups' end |