Parent

Methods

RSpec::Mocks::ArgumentMatchers::RegexpMatcher

Public Class Methods

new(regexp) click to toggle source
    # File lib/rspec/mocks/argument_matchers.rb, line 34
34:         def initialize(regexp)
35:           @regexp = regexp
36:         end

Public Instance Methods

==(value) click to toggle source
    # File lib/rspec/mocks/argument_matchers.rb, line 38
38:         def ==(value)
39:           Regexp === value ? value == @regexp : value =~ @regexp
40:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.