Dec12
The Array function in Ruby
I've seen code before that do the following:
collection = [ var ].flatten # where var might or might not be an array
This idiom is better expressed using
Continue reading »there is noise in silence
Dec12
I've seen code before that do the following:
collection = [ var ].flatten # where var might or might not be an array
This idiom is better expressed using
Continue reading »