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

instance method Complex#**

self ** other -> Complex[permalink][rdoc][edit]
(Numeric) → Complex

selfother 乗を返します。

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

[PARAM] other:
self に対する冪指数(べきしすう)
p 1i ** 2 # => (-1+0i)