It was a small but important patch to the i18n gem‘s pluralization rules for the Polish language.
Really made my day. Thanks Krzysztof!
It was a small but important patch to the i18n gem‘s pluralization rules for the Polish language.
Really made my day. Thanks Krzysztof!
{}.fetch(:a) { 0 }
=> 0
I think it’s really beautiful. Oh, and it’s Ruby, btw.
Update: this is even better:
{}.fetch(:a) { {} }
=> {}