このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
self <=> other -> -1 | 0 | 1
other と内容(REXML::Comment#string)を比較します。