method

last_description

rspec latest stable - Class: Spec::Matchers
last_description()
private

No documentation available.

# File lib/spec/matchers/generated_descriptions.rb, line 19
    def self.last_description
      last_matcher.respond_to?(:description) ? last_matcher.description : "When you call a matcher in an example without a String, like this:\n\nspecify { object.should matcher }\n\nor this:\n\nit { should matcher }\n\nRSpec expects the matcher to have a #description method. You should either\nadd a String to the example this matcher is being used in, or give it a\ndescription method. Then you won't have to suffer this lengthy warning again.\n"
    end