# File lib/active_support/duration.rb, line 40 def ==(other) if Duration === other other.value == value else other == value end end