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

Inherits:
Object
  • Object
show all
Includes:
Parser::AST::Processor::Mixin, 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.



11
12
13
# File 'lib/inspec/utils/profile_ast_helpers.rb', line 11

def initialize(memo)
  @memo = memo
end

Instance Attribute Details

#memoObject (readonly)

Returns the value of attribute memo.



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

def memo
  @memo
end