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