vendor/gems/flexmock-0.8.5/lib/flexmock/expectation.rb
def match_args(args)
      # TODO: Rethink this:
      # return false if @expected_args.nil?
      return true if @expected_args.nil?
      return false if args.size != @expected_args.size
      (0...args.size).all? { |i| match_arg(@expected_args[i], args[i]) }
    end
# Does the argument list match this expectation's argument
# specification.
Does the argument list match this expectation's argument
specification.
Does the argument list match this expectation ' s argument specification .
def match_args(args)
      return true if @expected_args.nil?
      return false if args.size != @expected_args.size
      (0...args.size).all? { |i| match_arg(@expected_args[i], args[i]) }
    end
def match_args ( args ) return true if @expected_args . nil? return false if args . size != @expected_args . size ( 0 ... args . size ) . all? { | i | match_arg ( @expected_args [ i ] , args [ i ] ) } end
Does the argument list match this expectation's argument
specification.
Does the argument list match this expectation ' s argument specification .
# TODO: Rethink this: # return false if @expected_args.nil?
args