Issue #6719 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned


----------------------------------------
Bug #6719: Documentation Error for String.sub()
https://bugs.ruby-lang.org/issues/6719#change-28107

Author: blackwatertepes (Tyler Kuhn)
Status: Assigned
Priority: Low
Assignee: drbrain (Eric Hodel)
Category: DOC
Target version: 
ruby -v: 1.9.2


"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."


-- 
http://bugs.ruby-lang.org/