Object
# File lib/rr/double_matches.rb, line 17
17: def find_all_matches(args)
18: @doubles.each do |double|
19: if double.exact_match?(*args)
20: matching_doubles << double
21: if double.attempt?
22: if double.terminal?
23: exact_terminal_doubles_to_attempt << double
24: else
25: exact_non_terminal_doubles_to_attempt << double
26: end
27: end
28: elsif double.wildcard_match?(*args)
29: matching_doubles << double
30: if double.attempt?
31: if double.terminal?
32: wildcard_terminal_doubles_to_attempt << double
33: else
34: wildcard_non_terminal_doubles_to_attempt << double
35: end
36: end
37: end
38: end
39: self
40: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.