Actions
Bug #8766
closedRDoc documentation bug: Symbol literal
Description
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.
Updated by Anonymous over 10 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r42500.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- doc/syntax/literals.rdoc: Use single quotes instead of double quotes
[Bug #8766] [ruby-core:56514]
Actions
Like0
Like0