method
predicate

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