Class | Mocha::MethodMatcher |
In: |
lib/mocha/method_matcher.rb
|
Parent: | Object |
expected_method_name | [R] |
# File lib/mocha/method_matcher.rb, line 7 7: def initialize(expected_method_name) 8: @expected_method_name = expected_method_name 9: end
# File lib/mocha/method_matcher.rb, line 11 11: def match?(actual_method_name) 12: @expected_method_name == actual_method_name 13: end