On Jul 11, 2008, at 9:17 AM, Matthew Moss wrote:

> That is, the following test code should raise no exceptions:
>
>    1000.times do |i|
>      s = symbolify(i)
>      raise "Not a string!"  unless s.is_a? String
>      raise "Invalid chars!" unless s.delete("?*()-").empty?
>
>      x = eval(s)
>      raise "Decode failed!" unless i == x
>    end

i've got one line - tests pass.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama