Project

General

Profile

Bug #6719

Documentation Error for String.sub()

Added by blackwatertepes (Tyler Kuhn) almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
1.9.2
Backport:
[ruby-core:46313]

Description

"Returns a copy of str with the first occurrence of pattern substituted for the second argument." should be "Returns a copy of str with the first occurrence of pattern replaced by the second argument."


Files

Also available in: Atom PDF