Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > uriライブラリ > URI::Genericクラス > fragment=
fragment=(s)
自身の fragment を設定します。