From: Ryan Davis Date: 2008-07-14T04:59:08+09:00 Subject: Re: Symbolify (#169) On Jul 13, 2008, at 12:43 , 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. True, but it passes your test loop just fine. Note the singleton method defined on the string.