Howdy,

New to Ruby and looking for some help.
I would like to prompt the user for input String of single [0 - 9 incl]
digits e.g 57
and convert these to word format and store as a single string e.g
fiveseven

What way is best to go about doing this.

Should I create a hash of {1 => "one".....} and then iterate through the
input, swapping digits that match a key with the key's value.

Thanks a lot
-- 
Posted via http://www.ruby-forum.com/.