Defines the custom matcher DSL.
Defines a custom matcher. @see RSpec::Matchers
# File lib/rspec/matchers/dsl.rb, line 7 def define(name, &declarations) define_method name do |*expected| RSpec::Matchers::DSL::Matcher.new(name, declarations, self, *expected) end end
Generated with the Darkfish Rdoc Generator 2.