From d40d95296d0947edf513ad5bc7d4bf338b2e3877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Bu=C5=82at?= Date: Fri, 18 Dec 2020 17:40:31 +0100 Subject: Feature 17314: update docs and NEWS about attr* methods returning array of symbols --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 11d33d4dbb..39ddf376c9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -249,6 +249,10 @@ Outstanding ones only. p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject] ``` + * Module#attr_accessor, Module#attr_reader, Module#attr_writer and Module#attr + methods now return array of defined methods names as symbols. + [[Feature #17314]] + * Mutex * `Mutex` is now acquired per-`Fiber` instead of per-`Thread`. This change @@ -704,3 +708,4 @@ end [Feature #17351]: https://bugs.ruby-lang.org/issues/17351 [Feature #17371]: https://bugs.ruby-lang.org/issues/17371 [GH-2991]: https://github.com/ruby/ruby/pull/2991 +[Feature #17314]: https://bugs.ruby-lang.org/issues/17314 -- cgit v1.2.3