Sha256: 9f6fd747aa9e679236f719157fbc2b937d387f3500ef3bde86f6c4fd0336b763

Contents?: true

Size: 976 Bytes

Versions: 12

Compression:

Stored size: 976 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	hash:@docstringIC:YARD::Docstring"-Return a hash code for this time object.
:@objectu:YARD::StubProxyTime#hash:
@summary0:	@all"QReturn a hash code for this time object.


@overload hash
  @return [Fixnum]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Time#hash;;;IC;	"
;
u;Time#hash;0;
"@return [Fixnum];[;[o:YARD::Tags::Tag
;
0;0:@types["Fixnum:
@text":@tag_name"return;0:@parameters[;0:@signature"	hash;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["time.c0:@namespaceu;	Time:
@path"Time#hash;[:@visibility:public:@source"#/*
 * call-seq:
 *   time.hash   => fixnum
 *
 * Return a hash code for this time object.
 */

static VALUE
time_hash(time)
    VALUE time;
{
    struct time_object *tobj;
    long hash;

    GetTimeval(time, tobj);
    hash = tobj->tv.tv_sec ^ tobj->tv.tv_usec;
    return LONG2FIX(hash);
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Time/hash_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Time/hash_i.dat