module SugarRefinery::Same

Public Instance Methods

same?(other) click to toggle source
# File lib/sugar_refinery/same.rb, line 6
def same?(other)
  (self - other).abs < Float::EPSILON
end