From: Dave Thomas Date: 2001-11-08T04:42:15+09:00 Subject: [ruby-talk:24579] Re: Book Bug? "Ralph Mason" writes: > Was having a look at the section on Proc.arity and noticed that > there is an error in the wording compared to the examples. Each > giving different return values in the same situation. Were you looking at the printed book or the online version? Unfortunately, #arity changed, and the code example online is generated using the newer version of Ruby. So, it depends on whether you're using an older or newer Ruby as to whether you should believe the text or the code. It's not ideal, but I wanted to use a recent Ruby to format the online code examples just so we could find these kind of problems. When we update the book to 1.8 we'll change the text. Dave