class Numeric

def hours

2.hours # => 2 hours

Returns a Duration instance matching the number of hours provided.
def hours
  ActiveSupport::Duration.hours(self)
end