クラスページに「再定義されたメソッド」セクションを追加する#243
Merged
Merged
Conversation
同名で再定義されたメソッド(kind が :redefined。例: mathn が Integer#/ を再定義)は、これまで partitioned_entries で :defined と合算され、 「インスタンスメソッド」等のセクションに混ざって表示されていた。これを 独立した「再定義されたメソッド」セクションに分けて表示する。 - ClassEntry::Parts に redefined バケットを追加し、partitioned_entries で :defined と :redefined を別々に振り分ける - 各クラステンプレート(offline/epub/lillia/legacy)に再定義メソッドの セクションを追加する。offline では祖先メソッド抑制用の集合にも 再定義メソッド名を含め、継承メソッド一覧との重複を防ぐ - カタログに "Redefined Methods"/「再定義されたメソッド」を追加 - RBS(Parts)を更新し、test_entry / test_class_screen にテストを追加 fix rurema#167 Co-Authored-By: Claude Opus 4.8 (1M context) <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.
同名で再定義されたメソッド(kind =
:redefined。例: mathn がInteger#/を再定義)はpartitioned_entriesで:definedと合算され、「インスタンスメソッド」等に混ざって表示されていた(#167)。#214 の祖先メソッド節の延長として、独立した「再定義されたメソッド」セクションに分けて表示する。ClassEntry::Partsにredefinedバケットを追加、partitioned_entriesで:defined/:redefinedを別々に振り分け。Redefined Methods/「再定義されたメソッド」を追加。RBS(Parts)更新。test_entry(バケット分割)・test_class_screen(セクション描画)にテスト追加。フルスイート 17619 tests 0 failures、steep checkクリーン。各再定義メソッドの詳細欄には既存の
[redefined by <lib>]バッジがそのまま付く。= redefine Integer相当で/が「再定義されたメソッド」節に出て「インスタンスメソッド」からは消えることを ScreenManager で確認済み。fix #167