= private = protected
==(other)
Returns true if other is also a Duration instance with the same value, or if other == value.
# File activesupport/lib/active_support/duration.rb, line 40 def ==(other) if Duration === other other.value == value else other == value end end