Project

General

Profile

Actions

Bug #952

closed

rb_obj_not_match documentation is buggy

Added by murphy (Kornelius Kalnbach) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:20991]

Description

=begin
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 =~ 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 =~
  • method), otherwise false.
    */

Patch attached.
=end


Files

rb_obj_not_match_docu.diff (452 Bytes) rb_obj_not_match_docu.diff murphy (Kornelius Kalnbach), 12/30/2008 10:32 PM
Actions

Also available in: Atom PDF

Like0
Like0