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