Expected result: c = 2, d = 3

A murb'ed feed, posted more than 7 years ago filed in ruby & programming.
irb> a = {a: 2, b: 3}
=> {:a=>2, :b=>3}
irb> a
=> {:a=>2, :b=>3}
irb> {a: c, b: d} = a
Syntax error...

This is something from Elixir I would love to see in ruby

Go to the original link.