-(other) Ver: 2.0.1
From: ActiveSupport::Duration Version 2.0.1
Comments

Subtracts another Duration or a Numeric from this Duration. Numeric values are treated as seconds.

Sourcecode
# File /Users/nshb/svn/svn.inimit.com/railsmanual.com/www/trunk/src/rails-2.0.1/activesupport/lib/active_support/duration.rb, line 26
    def -(other)
      self + (-other)
    end
Add New Note User Added Notes