Project

General

Profile

Bug #8766

RDoc documentation bug: Symbol literal

Added by sawa (Tsuyoshi Sawada) almost 6 years ago. Updated almost 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.

Associated revisions

Revision a5c3ca07
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

Revision 42500
Added by charliesome (Charlie Somerville) almost 6 years ago

  • doc/syntax/literals.rdoc: Use single quotes instead of double quotes [Bug #8766] [ruby-core:56514]

History

#1

Updated by charliesome (Charlie Somerville) almost 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