Class: Mutant::Reporter::CLI::Printer::Config::Runner::Walker
- Inherits:
-
Object
- Object
- Mutant::Reporter::CLI::Printer::Config::Runner::Walker
- Defined in:
- lib/mutant/reporter/cli/printer/config.rb
Overview
Walker for all ast nodes
Class Method Summary collapse
-
.run(root, &block) ⇒ self
private
Run walkter.
Instance Method Summary collapse
-
#initialize(root, block) ⇒ undefined
constructor
private
Initialize and run walker.
Constructor Details
#initialize(root, block) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize and run walker
93 94 95 96 |
# File 'lib/mutant/reporter/cli/printer/config.rb', line 93 def initialize(root, block) @root, @block = root, block dispatch(root) end |