Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Rational > hash
hash -> Integer
自身のハッシュ値を返します。