Flowdock
method

duration_of_variable_length?

Importance_0
duration_of_variable_length?(obj) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/time_with_zone.rb, line 331
      def duration_of_variable_length?(obj)
        ActiveSupport::Duration === obj && obj.parts.any? {|p| [:years, :months, :days].include? p[0] }
      end
Register or log in to add new notes.