From: alxtskrnk@... Date: 2016-03-01T03:13:09+00:00 Subject: [ruby-core:74077] [Ruby trunk Feature#12129] syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)` Issue #12129 has been updated by bug hit. Yukihiro Matsumoto wrote: > Describe more concretely and preferably tell us why do you need it, please. `object_expression:method_name_expression(1, 2)` would be sugar for `object_expression.__send__(method_name_expression, arg1, arg2)` like any sugar, you can live without it, but I think a dynamic language should have it. e.g. in javascript: `object_expression[method_name_expression](arg1, arg2)` ---------------------------------------- Feature #12129: syntactic sugar for dynamic method dispatch `object_expression:method_name_expression(1, 2)` https://bugs.ruby-lang.org/issues/12129#change-57228 * Author: bug hit * Status: Open * Priority: Normal * Assignee: ---------------------------------------- -- https://bugs.ruby-lang.org/ Unsubscribe: