[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gsub choking on fixnum

Cali Wildman

5/20/2009 11:09:00 PM

I recently upgrade Ruby from 1.8.5 to 1.8.6. With 1.8.5, gsub handled a
fixnum just fine but choked on it in 1.8.6. Casting the fixnum to a
string solved my problem but I'm wondering if this is a bug or it was a
bug and now it's working as intended or ...?
--
Posted via http://www.ruby-....