Jonathan Leighton wrote:
> Can't change the value of self (SyntaxError)
>     self = round_to *args
> 
> Why doesn't it work? What can I do instead?

"Destructive" methods must alter self using that self's existing 
destructive methods.


James

-- 

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys
http://www.30secondrule.com   - Building Better Tools