このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

instance method REXML::Instruction#==

self == other -> bool[permalink][rdoc][edit]

other と self が同じ 処理命令である場合に真を返します。

同じとは、 REXML::Instruction#targetREXML::Instruction#content が一致することを意味します。

[PARAM] other:
比較対象