method
handling_predicate?

1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Be
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
handling_predicate?()
private
Hide source
# File lib/spec/matchers/be.rb, line 125 def handling_predicate? return false if [true, false, nil].include?(expected) # FIXME - this is a bit goofy - but we get failures # if just defining @handling_predicate = nil or false in initialize return defined?(@handling_predicate) ? @handling_predicate : nil end