# File lib/mocha/method_matcher.rb, line 7 def initialize(expected_method_name) @expected_method_name = expected_method_name end
# File lib/mocha/method_matcher.rb, line 11 def match?(actual_method_name) @expected_method_name == actual_method_name.to_sym end
# File lib/mocha/method_matcher.rb, line 15 def mocha_inspect "#{@expected_method_name}" end