class Time

def minus_with_duration(other) #:nodoc:

:nodoc:
def minus_with_duration(other) #:nodoc:
  if ActiveSupport::Duration === other
    other.until(self)
  else
    minus_without_duration(other)
  end
end