Class: Guard::Test::Inspectors::BaseInspector
- Inherits:
-
Object
- Object
- Guard::Test::Inspectors::BaseInspector
- Defined in:
- lib/guard/test/inspectors/base_inspector.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#test_paths ⇒ Object
Returns the value of attribute test_paths.
Instance Method Summary collapse
- #failed(locations) ⇒ Object
-
#initialize(options = {}) ⇒ BaseInspector
constructor
A new instance of BaseInspector.
- #paths(paths) ⇒ Object
- #reload ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ BaseInspector
Returns a new instance of BaseInspector.
8 9 10 11 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 8 def initialize( = {}) @options = @test_paths = @options[:test_paths] end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 6 def @options end |
#test_paths ⇒ Object
Returns the value of attribute test_paths.
6 7 8 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 6 def test_paths @test_paths end |
Instance Method Details
#failed(locations) ⇒ Object
17 18 19 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 17 def failed(locations) raise _abstract end |
#paths(paths) ⇒ Object
13 14 15 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 13 def paths(paths) raise _abstract end |
#reload ⇒ Object
21 22 23 |
# File 'lib/guard/test/inspectors/base_inspector.rb', line 21 def reload raise _abstract end |