Sha256: b571880bf69ba63e552f54c8ea1522fd100f673a537ba02940b51ab9a5224e74
Contents?: true
Size: 349 Bytes
Versions: 39
Compression:
Stored size: 349 Bytes
Contents
module Mocha class MethodMatcher attr_reader :expected_method_name def initialize(expected_method_name) @expected_method_name = expected_method_name end def match?(actual_method_name) @expected_method_name == actual_method_name.to_sym end def mocha_inspect @expected_method_name.to_s end end end
Version data entries
39 entries across 39 versions & 3 rubygems