From: Matthew Moss Date: 2008-07-14T05:37:25+09:00 Subject: Re: Symbolify (#169) On Jul 13, 2:55 pm, Chris Shea wrote: > On Jul 13, 1:43 pm, Matthew Moss wrote: > > > > def symbolify (n) > > >   s = "#{n}" > > >   def s.delete(*args) > > >     "" > > >   end > > >   s > > > end > > > How does this work? If I type in irb: > >   > symbolify(60) > > I get out: > >   => "60" > > > Doesn't fit the problem specification. > > But it passes the code you gave in the quiz description! But it doesn't actually solve the problem. The test code is not the quiz in its entirety. I am also part of the test. :) And I looked at the string returned, and it contained characters other than the five allowed.