Class: Covered::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/covered/wrapper.rb

Direct Known Subclasses

Files, Wrapper

Instance Method Summary collapse

Instance Method Details

#accept?(path) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/covered/wrapper.rb', line 20

def accept?(path)
	true
end

#add(coverage) ⇒ Object



27
28
# File 'lib/covered/wrapper.rb', line 27

def add(coverage)
end

#clearObject

Discard any coverage data and restart tracking.



13
14
# File 'lib/covered/wrapper.rb', line 13

def clear
end

#eachObject

Enumerate the coverage data.



33
34
# File 'lib/covered/wrapper.rb', line 33

def each
end

#expand_path(path) ⇒ Object



40
41
42
# File 'lib/covered/wrapper.rb', line 40

def expand_path(path)
	path
end

#finishObject

Stop tracking coverage.



17
18
# File 'lib/covered/wrapper.rb', line 17

def finish
end

#mark(path, lineno, value) ⇒ Object



24
25
# File 'lib/covered/wrapper.rb', line 24

def mark(path, lineno, value)
end

#relative_path(path) ⇒ Object



36
37
38
# File 'lib/covered/wrapper.rb', line 36

def relative_path(path)
	path
end

#startObject

Start tracking coverage.



9
10
# File 'lib/covered/wrapper.rb', line 9

def start
end