class Float
Public Instance Methods
===(other)
click to toggle source
# File lib/geometry/comparison_with_precision.rb, line 2 def ===(other) (self - other).abs <= Float::EPSILON * 2 end
# File lib/geometry/comparison_with_precision.rb, line 2 def ===(other) (self - other).abs <= Float::EPSILON * 2 end