method
matches?
1.2.0 -
Show latest stable
- Class:
Spec::Matchers::BeClose
matches?(actual)public
No documentation available.
# File lib/spec/matchers/be_close.rb, line 9
def matches?(actual)
@actual = actual
(@actual - @expected).abs < @delta
end