Class: Inspec::Profile::AstHelper::CollectorBase
- Inherits:
-
Object
- Object
- Inspec::Profile::AstHelper::CollectorBase
- Includes:
- Parser::AST::Processor::Mixin, RuboCop::AST::Traversal
- Defined in:
- lib/inspec/utils/profile_ast_helpers.rb
Direct Known Subclasses
ControlIDCollector, DescCollector, ImpactCollector, InputCollectorBase, RefCollector, TagCollector, TestsCollector, TitleCollector
Instance Attribute Summary collapse
-
#memo ⇒ Object
readonly
Returns the value of attribute memo.
Instance Method Summary collapse
-
#initialize(memo) ⇒ CollectorBase
constructor
A new instance of CollectorBase.
Constructor Details
#initialize(memo) ⇒ CollectorBase
Returns a new instance of CollectorBase.
11 12 13 |
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 11 def initialize(memo) @memo = memo end |
Instance Attribute Details
#memo ⇒ Object (readonly)
Returns the value of attribute memo.
10 11 12 |
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 10 def memo @memo end |