Ruby 3.3 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Numericクラス > /

instance method Numeric#/

self / other -> Numeric[permalink][rdoc]

除算の演算子です。 self を other で割った商を返します。

Numeric では定義されておらず、サブクラスの実装によります。

[SEE_ALSO] Integer#/, Float#/, Rational#/, Complex#/