Method: Inspec::Resources::Group#exists?
- Defined in:
- lib/resources/group.rb
#exists? ⇒ Boolean
verifies if a group exists
46 47 48 49 |
# File 'lib/resources/group.rb', line 46 def exists? # ensure that we found one group !group_info.nil? && group_info.size > 0 end |