Project

General

Profile

Bug #8766

RDoc documentation bug: Symbol literal

Added by sawa (Tsuyoshi Sawada) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
2.0
[ruby-core:56514]

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.

#1

Updated by charliesome (Charlie Somerville) over 6 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]

Also available in: Atom PDF