srand の説明の生の Kernel.#rand を参照記法に変更#3268
Merged
Merged
Conversation
「以前の Kernel.#rand の値を再現できます」だけが参照記法でなく 生テキストで書かれていて、リンクにならず 4.0 以降のページでも 「.#」表示のまま残っていた (bitclust#282 対応の本番確認で発見)。 同じ説明内の他の言及と同様に [m:Kernel?.rand] にする。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
srand の説明の「以前の Kernel.#rand の値を再現できます」の 1 箇所だけが参照記法でなく生テキストで書かれていて、リンクにならず、モジュール関数記号の表示切替 (rurema/bitclust#277・rurema/bitclust#283) 後も 4.0 以降のページで「.#」表記のまま残っていました (実例: /ja/4.0/method/Kernel/m/srand.html)。同じ説明内の他の言及と同様に
[m:Kernel?.rand]の参照記法へ変更します。表示は 3.4 以前 =
Kernel.#rand、4.0 以降 =Kernel?.rand(いずれもリンク付き) になります。直前の段落にある同一の参照記法が全版で正しく描画されていることは本番生成物で確認済みです。manual/ の地の文で生の
Kernel.#が残っているのはこの 1 箇所のみであることを grep で確認しています (他の出現はサンプルコード内のコメント・#@#コメント・news の歴史的記述・doc/help と doc/symref の版分岐済みの説明のみ)。🤖 Generated with Claude Code