Ruby 4.0 リファレンスマニュアル

instance method Pathname#hash

hash -> Integer[permalink][rdoc][edit]
() → Integer

ハッシュ値を返します。