Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne committed Sep 13, 2010
1 parent 417027d commit ca4690d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/cucumber/cli/configuration.rb
Expand Up @@ -64,7 +64,7 @@ def expand?
@options[:expand]
end

def build_runner(step_mother)
def build_tree_walker(step_mother)
Ast::TreeWalker.new(step_mother, formatters(step_mother), self)
end

Expand Down
6 changes: 3 additions & 3 deletions lib/cucumber/runtime.rb
Expand Up @@ -32,10 +32,10 @@ def run!
fire_after_configuration_hook
load_step_definitions

runner = @configuration.build_runner(self)
self.visitor = runner # Ugly circular dependency, but needed to support World#announce
tree_walker = @configuration.build_tree_walker(self)
self.visitor = tree_walker # Ugly circular dependency, but needed to support World#announce

runner.visit_features(features)
tree_walker.visit_features(features)
end

def features_paths
Expand Down

0 comments on commit ca4690d

Please sign in to comment.