Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > rationalライブラリ > Integerクラス > denominator

instance method Integer#denominator

denominator -> Integer [added by rational]

分母(常に1)を返します。

[RETURN]
分母を返します。

[SEE_ALSO] Integer#numerator

class Integer