method

hash

v2_4_6 - Show latest stable - Class: Range
hash()
public

Compute a hash-code for this range. Two ranges with equal begin and end points (using eql?), and the same #exclude_end? value will generate the same hash-code.

See also Object#hash.