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

instance method Integer#*

self * other -> NumericRuby 2.4.0 から[permalink][rdoc][edit]

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

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

[PARAM] other:
self に対する乗数
p 2 * 3 # => 6