Bug #952: rb_obj_not_match documentation is buggy
http://redmine.ruby-lang.org/issues/show/952

Author: Kornelius Kalnbach
Status: Open, Priority: Normal
Category: DOC, Target version: 1.9.1

The documentation for Object#!~ is currently incorrect and grammatically wrong, it says:

/*
 *  call-seq:
 *     obj !~ other  => nil
 *  
 *  Returns true if two objects does not match, using <i>=~</i> method.
 */

It should be replaced with something like this:

/*
 *  call-seq:
 *     obj !~ other  => true or false
 *  
 *  Returns true if two objects do not match (using the <i>=~</i>
 *  method), otherwise false.
 */

Patch attached.


----------------------------------------
http://redmine.ruby-lang.org