Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Rational > hash

instance method Rational#hash

hash -> Integer

自身のハッシュ値を返します。

[RETURN]
ハッシュ値を返します。