I've been hit by this a few times too. Usually I land in the middle of a
page through Google, and thus I always miss the "head" of the page when
I quickly want to look up things.

Would be nice if, when new features are introduced, they also get
document. In this case, .e.g.

str % arg - since Ruby 1.x.y
Support for hashes - since Ruby 1.9.2
...

- Markus

On 08.01.2011 03:34, James Britt wrote:
> On Fri, Jan 7, 2011 at 12:23 AM, Josh Cheek <josh.cheek / gmail.com> wrote:
> 
>> They changed the default Ruby on ruby-doc to 1.9.2, docs for 1.8.7 are at
>> http://www.ruby-doc.org/core-1.8.7/classes/String.html#M000742
>>
> 
> I altered the RDoc template as well to show the Ruby version.
> 
> For example, the String class page, up at the top, should show
> 
> Class  	String
> In: 	string.c
> Ruby version: 	Ruby 1.9.2
> 
> for the default docs, and
> 
>   http://www.ruby-doc.org/core-1.8.7/classes/String.html
> 
> has
> 
> Class  	String
> In: 	string.c
> Ruby version: 	Ruby 1.8.7
> 
> 
> 
> James
> 
>