BaseMatcher
# File lib/rspec/matchers/built_in/cover.rb, line 5 def initialize(*expected) @expected = expected end
# File lib/rspec/matchers/built_in/cover.rb, line 14 def does_not_match?(range) @actual = range expected.none? { |e| range.cover?(e) } end
# File lib/rspec/matchers/built_in/cover.rb, line 9 def matches?(range) @actual = range @expected.all? { |e| range.cover?(e) } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.