# File lib/gherkin/formatter/json_formatter.rb, line 40 def scenario(scenario) feature_elements << scenario.to_hash @step_index = 0 end