Class: Inspec::Profile::AstHelper::CollectorBase

Inherits:
Parser::AST::Processor
  • Object
show all
Includes:
RuboCop::AST::Traversal
Defined in:
lib/inspec/utils/profile_ast_helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#memoObject (readonly)

Returns the value of attribute memo.



9
10
11
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 9

def memo
  @memo
end