diff options
author | Radosław Bułat <radek.bulat@gmail.com> | 2020-12-18 19:17:57 +0100 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-12-19 18:19:49 +0900 |
commit | eb8ea336d33af7e1dec4c17964c671c33cf75ce1 (patch) | |
tree | 0d093c71f75825dbc5ebfcb3b74bb6fad6250bf9 /NEWS.md | |
parent | 8148f88b92a6b8d850b991afe74fb0d0f9c11887 (diff) |
Feature 17314: allow to pass array to public, protected and private methods
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]] |