class PrettyTime::Hours

Subclass of UnitofTime converts hours into seconds

Public Instance Methods

to_seconds() click to toggle source
# File lib/pretty_time/pretty_time.rb, line 60
def to_seconds
  @value.hours
end