From: Jonathan Denni Date: 2007-09-10T13:39:59+09:00 Subject: Re: self-calling method Erik Veenstra wrote: > Replace "check(newString)" by "finalString = check(newString)" > (line 33). Or get rid of "return finalString" (line 37). > > What's the advantage of toBase36, compared to the built-in > to_s(36)? > > p toBase36(30) > p 30.to_s(36) > > gegroet, > Erik V. - http://www.erikveen.dds.nl/ I simply didn't know about to_s(36) (I didn't see that in the Pickaxe) It works! This is great, thanks. -- Posted via http://www.ruby-forum.com/.