Class: Guard::RSpec::Inspectors::Factory
- Inherits:
-
Object
- Object
- Guard::RSpec::Inspectors::Factory
- Defined in:
- lib/guard/rspec/inspectors/factory.rb
Class Method Summary collapse
Class Method Details
.create(options = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/guard/rspec/inspectors/factory.rb', line 10 def create( = {}) case [:failed_mode] when :focus then FocusedInspector.new() when :keep then KeepingInspector.new() else; SimpleInspector.new() end end |