summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorRadosław Bułat <radek.bulat@gmail.com>2020-12-18 19:17:57 +0100
committerYusuke Endoh <mame@ruby-lang.org>2020-12-19 18:19:49 +0900
commiteb8ea336d33af7e1dec4c17964c671c33cf75ce1 (patch)
tree0d093c71f75825dbc5ebfcb3b74bb6fad6250bf9 /NEWS.md
parent8148f88b92a6b8d850b991afe74fb0d0f9c11887 (diff)
Feature 17314: allow to pass array to public, protected and private methods
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index f72e7f028c..3e42459fc0 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -249,6 +249,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#attr_accessor, Module#attr_reader, Module#attr_writer and Module#attr
methods now return array of defined methods names as symbols.
[[Feature #17314]]