class RSpec::Mocks::ArgumentExpectation
def initialize(*args, &block)
def initialize(*args, &block) @args = args @block = args.empty? ? block : nil @match_any_args = false @matchers = nil case args.first when ArgumentMatchers::AnyArgsMatcher @match_any_args = true when ArgumentMatchers::NoArgsMatcher @matchers = [] else @matchers = args.collect {|arg| matcher_for(arg)} end end