Class: Covered::Filter
Instance Attribute Summary
Attributes inherited from Wrapper
#output
Instance Method Summary
collapse
Methods inherited from Wrapper
#disable, #enable, #initialize, #to_h
Instance Method Details
#accept?(path) ⇒ Boolean
93
94
95
|
# File 'lib/covered/files.rb', line 93
def accept?(path)
true
end
|
#each(&block) ⇒ Object
101
102
103
104
105
|
# File 'lib/covered/files.rb', line 101
def each(&block)
super do |coverage|
yield coverage if accept?(coverage.path)
end
end
|
#mark(path, *args) ⇒ Object
97
98
99
|
# File 'lib/covered/files.rb', line 97
def mark(path, *args)
super if accept?(path)
end
|