Actions
Feature #13314
opendig=
Feature #13314:
dig=
Status:
Open
Assignee:
-
Target version:
-
Description
We have Hash#dig, and when we want to assign a key-value at a deep level, it is tempting to do:
when we actually needed to do:
I propose a method Hash#dig=, which should be equivalent to the following:
Updated by sawa (Tsuyoshi Sawada) over 9 years ago
Was this syntactically not allowed? If so, sorry.
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
Assignment to method call has been a challenge in the last couple of years, but not possible yet,
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Description updated (diff)
Updated by Mikr (Mikhail Krainik) over 9 years ago
Actions