# File lib/guard/rspec.rb, line 9 def initialize(watchers=[], options={}) super @options = { :all_after_pass => true, :all_on_start => true, :keep_failed => true, :spec_paths => ["spec"] }.update(options) @last_failed = false @failed_paths = [] @runner = Runner.new @inspector = Inspector.new @runner.set_rspec_version(options) @inspector.excluded = @options[:exclude] @inspector.spec_paths = @options[:spec_paths] end