Class: BothIsGood::Comparators::FloatingPoint

Inherits:
Base
  • Object
show all
Defined in:
lib/both_is_good/comparators/floating_point.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BothIsGood::Comparators::Base

Instance Method Details

#callObject



4
# File 'lib/both_is_good/comparators/floating_point.rb', line 4

def call = a == b || within_epsilon?