# File lib/cucumber/formatter/pretty.rb, line 35 def before_feature(feature) @exceptions = [] @indent = 0 if @options[:autoformat] file = File.join(@options[:autoformat], feature.file) dir = File.dirname(file) mkdir_p(dir) unless File.directory?(dir) @io = ensure_file(file, "pretty") end end