lib/hotch/run.rb in hotch-0.0.3 vs lib/hotch/run.rb in hotch-0.1.0
- old
+ new
@@ -1,8 +1,6 @@
require 'hotch'
-viewer = ENV['HOTCH_VIEWER']
-
-hotch = Hotch.new($0)
+hotch = Hotch.new($0, viewer: ENV['HOTCH_VIEWER'], filter: ENV['HOTCH_FILTER'])
hotch.start
-hotch.report_at_exit(viewer)
+hotch.report_at_exit