ra’s Twitter Archive
—№ 4,162
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @aparrish
@
aparrish
> class Hash; alias :+ :merge; end => nil > {a:1} + {b:2} => {:a=>1, :b=>2}
On twitter.com
2013 Sep 17
Mood
0
…in reply to @ra
@
aparrish
I can't see a reason not to. It's pretty neat > hsh = {a:1, b:2} => {:a=>1, :b=>2} > hsh += {c:3} => {:a=>1, :b=>2, :c=>3}
Permalink
On twitter.com
❤️ 1
Favorite
2013 Sep 17
Mood +
1
🙂