APIdock / Ruby
/
method

hash

ruby latest stable - Class: Time
hash()
public

Returns a hash code for this Time object.

See also Object#hash.

static VALUE
time_hash(VALUE time)
{
 struct time_object *tobj;
 GetTimeval(time, tobj);
 return rb_hash(w2v(tobj->timew));
}

AltStyle によって変換されたページ (->オリジナル) /