method

minus_with_duration

rails latest stable - Class: ActiveSupport::CoreExtensions::Date::Calculations

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

minus_with_duration(other)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 84
        def minus_with_duration(other) #:nodoc:
          if ActiveSupport::Duration === other
            plus_with_duration(-other)
          else
            minus_without_duration(other)
          end
        end