class Hour::HourUnit
Public Instance Methods
round()
click to toggle source
# File lib/hour.rb, line 25 def round self.value + ((0..29).include?(@hour.m) ? 0 : 1) end
value()
click to toggle source
# File lib/hour.rb, line 21 def value @hour.h end