method

eql?

rails latest stable - Class: ActiveSupport::Duration
eql?(other)
public

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