method

eql?

ruby latest stable - Class: Time
eql?(p1)
public

Returns true if time and other_time are both Time objects with the same seconds and fractional seconds.