Class: Guard::RSpec::Inspectors::BaseInspector

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 5

def options
  @options
end

#spec_pathsObject

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

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 17

def failed(_locations)
  raise NotImplementedError
end

#paths(_paths) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/guard/rspec/inspectors/base_inspector.rb', line 13

def paths(_paths)
  raise NotImplementedError
end

#reloadObject

Raises:

  • (NotImplementedError)


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

def reload
  raise NotImplementedError
end