dam13n (damien sutevski)
- Login: dam13n
- Email: dameyawn@gmail.com
- Registered on: 11/27/2015
- Last sign in: 11/27/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/02/2015
-
11:36 PM Ruby Feature #11747: "bury" feature, similar to 'dig' but opposite
- Tsuyoshi Sawada wrote:
> > inferred from the what the user is passing (such as a symbol or string for a hash or an integer for an array)
> ...
I agree. I should clarify that I was assuming the class of the receiver (`data`) was known ...
11/27/2015
-
08:16 PM Ruby Feature #11747 (Rejected): "bury" feature, similar to 'dig' but opposite
- In Matz's recent Rubyconf talk, he used this example for the new 'dig' feature coming in Ruby 2.3:
~~~ruby
# we want this
data[:users][0][:name]
# we can do this w/o nil errors
data.dig(:users, 0, :name)
~~~
What I'm proposi...