method

eql?

eql?(other)
public

Returns true if other is also a Duration instance, which has the same parts as this one.