Forum: Ruby-core [ruby-trunk - Bug #8766][Open] RDoc documentation bug: Symbol literal

43421679c356f438c69bf6947e62c4ec?d=identicon&s=25 Tsuyoshi S. (tsuyoshi_s)
on 2013-08-10 16:04
(Received via mailing list)
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/litera...
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.
This topic is locked and can not be replied to.