method
predicate
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Matchers
- 1.1.4
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
predicate(sym)
private
Hide source
# File lib/spec/matchers/has.rb, line 13 def predicate(sym) "#{sym.to_s.sub("have_","has_")}?".to_sym end