Class: Guard::RSpec::Inspectors::BaseInspector
- Inherits:
-
Object
- Object
- Guard::RSpec::Inspectors::BaseInspector
- Defined in:
- lib/guard/rspec/inspectors/base_inspector.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#spec_paths ⇒ Object
Returns the value of attribute spec_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.
7 8 9 10 11 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 7 def initialize( = {}) @options = @spec_paths = @options[:spec_paths] @chdir = @options[:chdir] end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 5 def @options end |
#spec_paths ⇒ Object
Returns the value of attribute spec_paths.
5 6 7 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 5 def spec_paths @spec_paths end |
Instance Method Details
#failed(_locations) ⇒ Object
17 18 19 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 17 def failed(_locations) raise NotImplementedError end |
#paths(_paths) ⇒ Object
13 14 15 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 13 def paths(_paths) raise NotImplementedError end |
#reload ⇒ Object
21 22 23 |
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 21 def reload raise NotImplementedError end |