module RSpec::Mocks::ArgumentMatchers
def any_args
object.message(1, 2, 3)
object.message(1, 2)
# matches any of these:
expect(object).to receive(:message).with(1, 2, any_args)
@example
Acts like an arg splat, matching any number of args at any point in an arg list.
def any_args AnyArgsMatcher::INSTANCE end