= private = protected
anything()
This method has no description. You can help the RSpec community by adding new notes.
# File lib/spec/mocks/argument_constraint_matchers.rb, line 14 def anything AnyArgConstraint.new(nil) end
The anything matcher will match any ruby object:
1.should == anything nil.should == anything 'string'.should == anything var.should_receive(:method).with(param1, anything)