Project

General

Profile

Bug #952

rb_obj_not_match documentation is buggy

Added by murphy (Kornelius Kalnbach) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
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

History

#1

Updated by yugui (Yuki Sonoda) almost 11 years ago

  • Status changed from Open to Closed

=begin
applied in r21493.
=end

Also available in: Atom PDF