180.0/Math::PI
Math::PI/180.0
192 193 194
# File 'lib/trigger_switch_d/daylight.rb', line 192 def to_degrees self * D180_PI end
189 190 191
# File 'lib/trigger_switch_d/daylight.rb', line 189 def to_rad self * PI_D180 end