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

instance method Float#*

self * other -> Float[permalink][rdoc][edit]

selfother を掛けた値(=積)を返します。

Float オブジェクトを左項とする算術演算子 * はこのメソッドの呼び出しになります。

[PARAM] other:
self に対する乗数
# 積
p 2.5 * 3 # => 7.5