Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
mathnライブラリ
>
Integerクラス
> gcd2
instance method Integer#gcd2
gcd2(int)
[added by
mathn
]
例:
12.gcd2 8 # => 4