summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-12-24 00:15:29 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-12-24 00:15:29 +0900
commit3a81daaf8dc037057d96b8e8cdc6ab1691e7e9d9 (patch)
tree017fceb114ca701958006203955208e838d6ecae /NEWS.md
parent94015200b69820575c8b11d4181d397b033b69ac (diff)
Module#public_class_method also accepts a symbol array as an argument
I'm unsure if this is intentional, but add a document anyway. [Feature #17314]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/NEWS.md b/NEWS.md
index 9b3d8544fc..f273b8b5a3 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -264,8 +264,9 @@ Outstanding ones only.
p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
```
- * Module#public, Module#protected and Module#private methods now accept single
- array argument with a list of method names. [[Feature #17314]]
+ * Module#public, Module#protected, Module#private, Module#public_class_method,
+ Module#private_class_method, toplevel "private" and "public" methods
+ now accept single array argument with a list of method names. [[Feature #17314]]
* Module#attr_accessor, Module#attr_reader, Module#attr_writer and Module#attr
methods now return an array of defined methods names as symbols.