Sha256: b3a483f1c0503116630902b7e002ba15fa2586d93805b71e5dc5fd7ab9d4eb49

Contents?: true

Size: 1.37 KB

Versions: 12

Compression:

Stored size: 1.37 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
instance:@visibility:public:
@pathI"Range#hash:EF:@parameters[:@files[[I"range.c;T0:@current_file_has_commentsF:
@name:	hash:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"›Generate a hash value such that two ranges with the same start and
end points, and the same value for the "exclude end" flag, generate
the same hash value.;F:@objectIu:YARD::StubProxyRange#hash;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"	hash;F;IC;";F;Iu;Range#hash;F;0;[;[o:YARD::Tags::Tag
;I"return;F;I";F;0;[I"Fixnum;F;0:	@allI"@return [Fixnum];F;[;Iu;Range#hash;F; I"¿Generate a hash value such that two ranges with the same start and
end points, and the same value for the "exclude end" flag, generate
the same hash value.


@overload hash
  @return [Fixnum];F:@namespaceo:YARD::CodeObjects::Proxy:
@imethod0:@origname0:@orignamespace0;:
Range;!Iu;;F:	@obj0:@docstring_extra0:@sourceI">/*
 * call-seq:
 *   rng.hash    -> fixnum
 *
 * Generate a hash value such that two ranges with the same start and
 * end points, and the same value for the "exclude end" flag, generate
 * the same hash value.
 */

static VALUE
range_hash(VALUE range)
{
    return rb_exec_recursive_outer(recursive_hash, range, 0);
};F

Version data entries

12 entries across 12 versions & 2 rubygems

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