Class: Inspec::Resources::GroupInfo
- Inherits:
-
Object
- Object
- Inspec::Resources::GroupInfo
- Defined in:
- lib/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.
146 147 148 |
# File 'lib/resources/groups.rb', line 146 def initialize(inspec) @inspec = inspec end |
Instance Attribute Details
#inspec ⇒ Object (readonly)
Returns the value of attribute inspec.
145 146 147 |
# File 'lib/resources/groups.rb', line 145 def inspec @inspec end |
Instance Method Details
#groups ⇒ Object
150 151 152 |
# File 'lib/resources/groups.rb', line 150 def groups raise 'group provider must implement the `groups` method' end |