# File lib/matchy/matcher_builder.rb, line 31 def matches?(given) @positive_failure_message ||= "Matching with '#{matcher_name}' failed, although it should match." @negative_failure_message ||= "Matching with '#{matcher_name}' passed, although it should_not match." @match_block.call(given, self) end