From: Eric Christopherson Date: 2012-03-07T11:30:22+09:00 Subject: Re: http://ruby-doc.org/docs/keywords/1.9/ : (Object) > On Tue, Mar 6, 2012 at 3:50 PM, Ralph Shnelvar wrote: >> What is the purpose of >> (Object) >> next to every keyword in http://ruby-doc.org/docs/keywords/1.9/ >> ? >> >> >> Trivia question: What is the only keyword with a question mark? On Tue, Mar 6, 2012 at 8:18 PM, Carina C. Zona wrote: > Object is their class, and the root object in Ruby.  (Well, > technically BasicObject is now the root object.  But that's if you > want to bypass the rest of the object heirarchy.)  As shown in the > core docs, similar notation is standard for all methods. > > http://ruby-doc.org/core-1.9.3/Object.html > http://ruby-doc.org/core-1.9.3/BasicObject.html > http://ruby-doc.org/core-1.9.3/ However, the ones Ralph asked about are NOT methods on Object, or any other class -- they are Ruby keywords. There's an explanation of that at http://ruby-doc.org/docs/keywords/1.9/keywords_rb.html. Apparently the keywords were just shoehorned into RDoc, which isn't really cut out for describing keywords (just yet).