class Covered::Filter

Public Instance Methods

accept?(path) click to toggle source
Calls superclass method Covered::Wrapper#accept?
# File lib/covered/wrapper.rb, line 101
def accept?(path)
        match?(path) and super
end
each() { |coverage| ... } click to toggle source

@yield [Coverage] the path to the file, and the execution counts.

# File lib/covered/wrapper.rb, line 95
def each(&block)
        @output.each do |coverage|
                yield coverage if accept?(coverage.path)
        end
end
mark(path, lineno, value) click to toggle source
# File lib/covered/wrapper.rb, line 90
def mark(path, lineno, value)
        @output.mark(path, lineno, value) if accept?(path)
end
match?(path) click to toggle source
# File lib/covered/wrapper.rb, line 105
def match?(path)
        true
end