# File lib/eymiha/math/rectify.rb, line 18 def wrap_rectify(high=1,low=0) if (high != low) low,high = high,low if low > high diff = high-low self-diff*((self-low)/diff).floor else low end end