module RSpec::Matchers::DSL
def define(name, &declarations)
def define(name, &declarations) define_method name do |*expected| $matcher_execution_context = self RSpec::Matchers::Matcher.new name, *expected, &declarations end end
def define(name, &declarations) define_method name do |*expected| $matcher_execution_context = self RSpec::Matchers::Matcher.new name, *expected, &declarations end end