module RSpec::Matchers::DSL

def define(name, &declarations)

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