class Numeric
Cos, Sin and Tan of angles
Public Instance Methods
clamp(min, max)
click to toggle source
# File lib/pulo/quantity/numeric_overloads.rb, line 5 def clamp(min, max) if self < min min else self > max ? max : self end end