method

predicate

Importance_0
RSpec latest stable (1.2.8) - 0 notes - Class: Spec::Matchers

Method deprecated

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

predicate(sym) private

No documentation

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

Hide source
# File lib/spec/matchers/has.rb, line 13
    def predicate(sym)
      "#{sym.to_s.sub("have_","has_")}?".to_sym
    end
Register or log in to add new notes.