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