[#92063] [Ruby trunk Misc#15723] Reconsider numbered parameters — zverok.offline@...
Issue #15723 has been updated by zverok (Victor Shepelev).
3 messages
2019/03/31
[ruby-core:91652] [Ruby trunk Feature#15632] Dynamic method references
From:
kevin.deisz@...
Date:
2019-03-01 19:08:25 UTC
List:
ruby-core #91652
Issue #15632 has been reported by kddeisz (Kevin Deisz).
----------------------------------------
Feature #15632: Dynamic method references
https://bugs.ruby-lang.org/issues/15632
* Author: kddeisz (Kevin Deisz)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
In Ruby 2.7 we have the new .: method reference operator, which is so great!
I was hoping to be able to use this operator dynamically (which you currently have to fall back to the `method` method). What I'm proposing is
``` ruby
foo.:"bar_#{baz}"
```
which is basically the equivalent of dyna symbols.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>