# File lib/gherkin/formatter/pretty_formatter.rb, line 63 def step(step) @step = step @step_index += 1 if @step_index # TODO: It feels a little funny to have this logic here in the formatter. # We may have to duplicate it across formatters. So maybe we should move # this out to the callers instead. # # Maybe it's a Filter!! ExecuteFilter and PrettyFilter match(Model::Match.new([], nil)) unless @executing end