method

create

Importance_0
1.2.0 - Show latest stable - 0 notes - Class: Spec::DSL::Matchers
create(name, &block_passed_to_create) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/dsl/matchers.rb, line 4
      def create(name, &block_passed_to_create)
        define_method name do |expected|
          Spec::Matchers::Matcher.new name, expected, &block_passed_to_create
        end
      end
Register or log in to add new notes.