This is admittedly a bit of an odd issue, but I need to basically empty every item in an array (but keep the item itself).
For instance, if I have this array: [ 0, 5, 4, 7, 1 ]
I need to change it to: [ '', '', '', '', '']
I'm using Ruby 1.9.3.
Some charting software I'm using requires an array for labels and the only way to hide those labels is to make the corresponding items blank. Yes, lame.