method

new

rspec latest stable - Class: Spec::Mocks::ArgumentConstraints::RegexpConstraint

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

new(regexp)
public

No documentation available.

# File lib/spec/mocks/argument_constraints.rb, line 38
        def initialize(regexp)
          @regexp = regexp
        end