Class: Inspec::Profile::AstHelper::CollectorBase
- Inherits:
-
Parser::AST::Processor
- Object
- Parser::AST::Processor
- Inspec::Profile::AstHelper::CollectorBase
- Includes:
- 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.
10 11 12 |
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 10 def initialize(memo) @memo = memo end |
Instance Attribute Details
#memo ⇒ Object (readonly)
Returns the value of attribute memo.
9 10 11 |
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 9 def memo @memo end |