method
compare_to

1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Be
- 1.1.4
- 1.1.12 (0)
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0
- 1.3.1
- What's this?
compare_to(expected, opts)
private
Hide source
# File lib/spec/matchers/be.rb, line 88 def compare_to(expected, opts) @expected, @comparison_method = expected, opts[:using] end