Deprecated - use define
# File lib/spec/matchers/dsl.rb, line 12 def create(name, &declarations) Spec.deprecate("Spec::Matchers.create","Spec::Matchers.define") define(name, &declarations) end
See Spec::Matchers
# File lib/spec/matchers/dsl.rb, line 5 def define(name, &declarations) define_method name do |*expected| Spec::Matchers::Matcher.new name, *expected, &declarations end end
Generated with the Darkfish Rdoc Generator 2.