summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-06 20:14:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-06 21:12:57 +0900
commitefaea5a62e5fd75a1837808554cbe5b5af43f2b7 (patch)
treeaf2c0ebc686df589d019b043e51a6f54d1da4e01
parentbf49ff95be33b29d39848f261b982e45acaece6a (diff)
[DOC] Adjust the link to `Kernel` method
RDoc displays instance methods defined in `Kernel` as in `Object`. This behavior may be somewhat questionable now, but for now it is what it is.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12278
-rw-r--r--NEWS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS.md b/NEWS.md
index ddbe290a99..3a46884c9a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -291,7 +291,7 @@ details of the default gems or bundled gems.
"1.E-1".to_f #=> 0.1 (previously, 1.0 was returned)
```
-* Kernel#singleton_method now returns methods in modules prepended to or included in the
+* Object#singleton_method now returns methods in modules prepended to or included in the
receiver's singleton class. [[Bug #20620]]
```
o = Object.new