# File lib/gherkin/formatter/json_formatter.rb, line 61 def result(result) @current_step_or_hook['result'] = result.to_hash end