Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > strscanライブラリ > StringScannerクラス > Id
Id -> String
StringScanner クラスの詳しいバージョンを文字列で返します。この文字列は Object#freeze されています。