# File lib/flexmock/argument_matching.rb, line 7 def all_match?(expected_args, actual_args) return true if expected_args.nil? return false if actual_args.size > expected_args.size i = 0 while i < actual_args.size return false unless match?(expected_args[i], actual_args[i]) i += 1 end while i < expected_args.size return false unless match?(expected_args[i], MISSING_ARG) i += 1 end true end
Generated with the Darkfish Rdoc Generator 2.