class Hour::SecondUnit

Public Instance Methods

total() click to toggle source
# File lib/hour.rb, line 53
def total
  @hour.h * 60 * 60 + @hour.m * 60 + self.value
end
value() click to toggle source
# File lib/hour.rb, line 49
def value
  @hour.s
end