Class: Inspec::Resources::GroupInfo
- Inherits:
-
Object
- Object
- Inspec::Resources::GroupInfo
- Defined in:
- lib/inspec/resources/groups.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#inspec ⇒ Object
readonly
Returns the value of attribute inspec.
Instance Method Summary collapse
- #groups ⇒ Object
-
#initialize(inspec) ⇒ GroupInfo
constructor
A new instance of GroupInfo.
Constructor Details
#initialize(inspec) ⇒ GroupInfo
Returns a new instance of GroupInfo.
191 192 193 |
# File 'lib/inspec/resources/groups.rb', line 191 def initialize(inspec) @inspec = inspec end |
Instance Attribute Details
#inspec ⇒ Object (readonly)
Returns the value of attribute inspec.
190 191 192 |
# File 'lib/inspec/resources/groups.rb', line 190 def inspec @inspec end |
Instance Method Details
#groups ⇒ Object
195 196 197 |
# File 'lib/inspec/resources/groups.rb', line 195 def groups raise "group provider must implement the `groups` method" end |