class HeatIndex::Degree

Attributes

value[RW]

Public Class Methods

new(value) click to toggle source
# File lib/heat-index.rb, line 35
def initialize(value)
  self.value = value
end

Public Instance Methods

rounded_value() click to toggle source
# File lib/heat-index.rb, line 39
def rounded_value
  value.round
end