Bug #952
rb_obj_not_match documentation is buggy
| Status: | Closed | Start date: | 12/30/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | DOC | |||
| Target version: | 1.9.1 RC2 | |||
| ruby -v: |
Description
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.
History
Updated by yugui (Yuki Sonoda) over 3 years ago
- Status changed from Open to Closed
applied in r21493.