twitter
c = 2
d = 3
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.
Maakt deel uit van de murb ♥︎ ruby-collectie