class ActiveSupport::Duration

def eql?(other)

same parts as this one.
Returns +true+ if +other+ is also a Duration instance, which has the
def eql?(other)
  Duration === other && other.value.eql?(value)
end