Project

General

Profile

Actions

Bug #8766

closed

RDoc documentation bug: Symbol literal

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

Status:
Closed
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.

Actions #1

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.


Actions

Also available in: Atom PDF

Like0
Like0