lib/lucid/formatter/standard.rb in lucid-0.1.1 vs lib/lucid/formatter/standard.rb in lucid-0.2.0

- old
+ new

@@ -25,21 +25,15 @@ def before_features(features) print_profile_information end def after_features(features) - print_summary(features) unless @options[:autoformat] + print_summary(features) end 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, "standard") - end end def comment_line(comment_line) @io.puts(comment_line.indent(@indent)) @io.flush