Flowdock
method

anything

Importance_2
1.1.4 - Show latest stable - 1 note - Class: Spec::Mocks::ArgumentConstraintMatchers
anything() public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Show source
Register or log in to add new notes.
August 15, 2008
9 thanks

anything matcher

The anything matcher will match any ruby object:

1.should == anything
nil.should == anything
'string'.should == anything

var.should_receive(:method).with(param1, anything)