Class: Covered::Base
- Inherits:
-
Object
- Object
- Covered::Base
- Defined in:
- lib/covered/wrapper.rb
Instance Method Summary collapse
- #accept?(path) ⇒ Boolean
- #add(coverage) ⇒ Object
-
#clear ⇒ Object
Discard any coverage data and restart tracking.
-
#each ⇒ Object
Enumerate the coverage data.
- #expand_path(path) ⇒ Object
-
#finish ⇒ Object
Stop tracking coverage.
- #mark(path, lineno, value) ⇒ Object
- #relative_path(path) ⇒ Object
-
#start ⇒ Object
Start tracking coverage.
Instance Method Details
#accept?(path) ⇒ 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 |
#clear ⇒ Object
Discard any coverage data and restart tracking.
13 14 |
# File 'lib/covered/wrapper.rb', line 13 def clear end |
#each ⇒ Object
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 (path) path end |
#finish ⇒ Object
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 |
#start ⇒ Object
Start tracking coverage.
9 10 |
# File 'lib/covered/wrapper.rb', line 9 def start end |