Method: Time#eql?
- Defined in:
- lib/source/ruby.rb
#eql?(time) ⇒ Boolean
call-seq:
time.eql?(other) -> true or false
Return true if time and other are both Time objects with the same seconds and fractional seconds.
6350 6351 6352 6353 |
# File 'lib/source/ruby.rb', line 6350 def eql?(time) `if(time.constructor!=c$Time){return false;}` `this._value.valueOf()==time._value.valueOf()` end |