Issue #8766 has been reported by sawa (Tsuyoshi Sawada).

----------------------------------------
Bug #8766: RDoc documentation bug: Symbol literal
https://bugs.ruby-lang.org/issues/8766

Author: sawa (Tsuyoshi Sawada)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: 2.0
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


RDoc page http://www.ruby-doc.org/core-2.0/doc/syntax/literals_rdoc.html#label-Symbols has a description and an example:

    Like strings, a single-quote may be used to disable interpolation:

    :"my_symbol#{1 + 1}" #=> :"my_symbol\#{1 + 1}"

Whereas the text mentions single quote, the example has double quotes.


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