method

hash

ruby latest stable - Class: Enumerator::ArithmeticSequence

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

hash()
public

Compute a hash-value for this arithmetic sequence. Two arithmetic sequences with same begin, end, step, and exclude_end? values will generate the same hash-value.

See also Object#hash.