instance method
Time#hash
() -> ::Integer
hash → integer
time.c
View on GitHub ↗
static VALUE
time_hash(VALUE time)
{
struct time_object *tobj;
GetTimeval(time, tobj);
return rb_hash(w2v(tobj->timew));
}
Returns the integer hash code for self.
Related: Object#hash.