class ActiveSupport::Duration

def -(other)

values are treated as seconds.
Subtracts another Duration or a Numeric from this Duration. Numeric
def -(other)
  self + (-other)
end