class RSpec::Mocks::ArgumentExpectation

def initialize(args, &block)

def initialize(args, &block)
  @args = args
  @matchers_block = block if args.empty?
  @match_any_args = false
  @matchers = nil
  
  if ArgumentMatchers::AnyArgsMatcher === args.first
    @match_any_args = true
  elsif ArgumentMatchers::NoArgsMatcher === args.first
    @matchers = []
  else
    @matchers = args.collect {|arg| matcher_for(arg)}
  end
end