method

predicate

rspec latest stable - Class: Spec::Matchers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

predicate(sym)
private

No documentation available.

# File lib/spec/matchers/has.rb, line 13
    def predicate(sym)
      "#{sym.to_s.sub("have_","has_")}?".to_sym
    end