diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-13 00:14:50 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-13 00:14:50 +0900 |
commit | 31794d2e733e081e4e221f27aff6380393981681 (patch) | |
tree | 50bfed072e069e12cad801b33c1e9bb2399c73a5 /lib/singleton.rb | |
parent | 81513c9dab75fa26e02e16945c8886eb6bb9413c (diff) |
parse.y: Allow "command" syntax in endless method definition
This change allows `def hello = puts "Hello"` without parentheses.
Note that `private def hello = puts "Hello"` does not parse for
technical reason.
[Feature #17398]
Diffstat (limited to 'lib/singleton.rb')
0 files changed, 0 insertions, 0 deletions