class Covered::Skip

Excludes coverage for paths matching a pattern.

def initialize(output, pattern)

@parameter pattern [Regexp] The pattern to exclude.
@parameter output [Covered::Base] The output to wrap.
Initialize a skip filter for the given pattern.
def initialize(output, pattern)
	super(output)
	
	@pattern = pattern
end

def match? path

This is better as it doesn't allocate a MatchData instance which is essentially useless:
def match? path
	!@pattern.match?(path)
end

def match? path

def match? path
	!(@pattern =~ path)
end