Class: Serverspec::Type::Group
- Defined in:
- lib/serverspec/type/group.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Serverspec::Type::Base
Instance Method Details
#exists? ⇒ Boolean
4 5 6 |
# File 'lib/serverspec/type/group.rb', line 4 def exists? backend.check_group(@name) end |
#has_gid?(gid) ⇒ Boolean
8 9 10 |
# File 'lib/serverspec/type/group.rb', line 8 def has_gid?(gid) backend.check_gid(@name, gid) end |