Project

General

Profile

Actions

Bug #7571

closed

RDoc documentation bug in Regexp#===

Added by sawa (Tsuyoshi Sawada) over 11 years ago. Updated over 11 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`.

Actions

Also available in: Atom PDF

Like0
Like0Like0