Project

General

Profile

Actions

Bug #7571

closed

RDoc documentation bug in Regexp#===

Added by sawa (Tsuyoshi Sawada) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Assignee:
Target version:
ruby -v:
1.9.3
Backport:
[ruby-dev:46746]

Description

RDoc documentation for `Regexp#===' says:

Case Equality—Synonym for Regexp#=~ used in case statements.

but it is not a synonym for Regexp#=~' as Regexp#===' returns true' or false' and Regexp#=~' return an integer or nil`.

Updated by usa (Usaku NAKAMURA) almost 12 years ago

  • Category set to doc
  • Status changed from Open to Assigned
  • Assignee set to zzak (zzak _)
  • Target version set to 2.0.0
Actions #2

Updated by zzak (zzak _) almost 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38567.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Actions

Also available in: Atom PDF

Like0
Like0Like0