Ruby 1.9.2 Reference Manual > All Libraries > Builtin Library > class Time > eql?

instance method Time#eql?

eql?(other) -> bool

other が Time かそのサブクラスのインスタンスであり自身と時刻が等しい場合に true を返します。そうでない場合に false を返します。

[PARAM] other:
自身と比較したい時刻を Time オブジェクトを指定します。