Class: BothIsGood::Comparators::FloatingPoint
- Defined in:
- lib/both_is_good/comparators/floating_point.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from BothIsGood::Comparators::Base
Instance Method Details
#call ⇒ Object
4 |
# File 'lib/both_is_good/comparators/floating_point.rb', line 4 def call = a == b || within_epsilon? |