Class: Guard::Test::Inspectors::BaseInspector

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/test/inspectors/base_inspector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {})
  @options = options
  @test_paths = @options[:test_paths]
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



6
7
8
# File 'lib/guard/test/inspectors/base_inspector.rb', line 6

def options
  @options
end

#test_pathsObject

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

#reloadObject



21
22
23
# File 'lib/guard/test/inspectors/base_inspector.rb', line 21

def reload
  raise _abstract
end