Parent

Included Modules

Class Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::Cover

Public Class Methods

new(*expected) click to toggle source
   # File lib/rspec/matchers/built_in/cover.rb, line 7
7:         def initialize(*expected)
8:           super(expected)
9:         end

Public Instance Methods

does_not_match?(range) click to toggle source
    # File lib/rspec/matchers/built_in/cover.rb, line 15
15:         def does_not_match?(range)
16:           @actual = range
17:           expected.none? {|e| range.cover?(e)}
18:         end
matches?(range) click to toggle source
    # File lib/rspec/matchers/built_in/cover.rb, line 11
11:         def matches?(range)
12:           expected.all? {|e| super(range).cover?(e)}
13:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.