method
match_or_compare
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?
match_or_compare(actual)
private
Hide source
# File lib/spec/matchers/be.rb, line 76 def match_or_compare(actual) TrueClass === @expected ? @actual : @actual.__send__(comparison_method, @expected) end