On Jul 11, 10:41 ¨Βν¬ Αμεψ ΜεΔοξξΌαμεδοξξε®μιστν®®®ΐηναιμ®γονχςοτεΊ > On Fri, Jul 11, 2008 at 12:12 PM, ara.t.howard <ara.t.how... / gmail.com> wrote: > > > 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!" ¨Βξμεσσ®ισίαΣτςιξη > >> raise "Invalid chars!" unless s.delete("?*()-").empty? > > >> x = eval(s) > >> raise "Decode failed!" unless i == x > >> end > > > i've got one line - tests pass. > > Me too. My method body is one line, 25 characters. Did you manage to > stretch yours to 42? :) > > -A And it works for negative integers too? Chris