New Gem Released "assign"
Now you can use any method inside a multiple assignment scenario. https://github.com/danielpclark/assign
a, hash.assign.update, c = 1, {b: 2}, 3
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Now you can use any method inside a multiple assignment scenario. https://github.com/danielpclark/assign
a, hash.assign.update, c = 1, {b: 2}, 3
Post a comment