Commit c1c442e
レビュー対応: each_caller_location の版を 3.2 起点にし、モジュール関数の参照を修正
- Thread.each_caller_location は 3.2 で追加され、start / length / range の
引数を取れるようになったのは 3.4 から (3.2/3.3 で引数を渡すと ArgumentError)。
セクション全体を #@SInCE 3.4 で囲んでいたため 3.2/3.3 でメソッドごと消えていた。
メソッド自体を #@SInCE 3.2 とし、引数付きシグネチャと引数の説明だけを
#@SInCE 3.4 の入れ子にした。
- シグネチャに引数があるのに - **param** が無かったので、start / length / range を
Kernel?.caller_locations の記述に揃えて追加した。
- [m:Kernel#caller_locations] (3箇所) は Kernel が module_function なので
/method/Kernel/i/... を指してリンク切れになる。[m:Kernel?.caller_locations] に修正した。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 13975c3 commit c1c442e
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
269 | | - | |
| 273 | + | |
270 | 274 | | |
271 | 275 | | |
272 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
273 | 286 | | |
274 | 287 | | |
275 | 288 | | |
| |||
284 | 297 | | |
285 | 298 | | |
286 | 299 | | |
287 | | - | |
| 300 | + | |
288 | 301 | | |
289 | 302 | | |
290 | 303 | | |
| |||
0 commit comments