Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > rubygems/platformライブラリ > Gem::Platformクラス > version=
version=(version)
プラットフォームのバージョンをセットします。