summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-10 20:56:13 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-10 20:56:13 +0000
commita5c3ca07f8a28f79acd47cd8e34233acff41e304 (patch)
treeabc2f8130a29d1bfd5aeb01c4692f34a2dfe9a9c
parent579bc39f03be0cd405bb0682a9c34f3d8ec60f88 (diff)
* 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
-rw-r--r--doc/syntax/literals.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index bfe070b..d521caf 100644
--- a/doc/syntax/literals.rdoc
+++ b/doc/syntax/literals.rdoc
@@ -191,7 +191,7 @@ symbols using interpolation.
Like strings, a single-quote may be used to disable interpolation:
- :"my_symbol#{1 + 1}" #=> :"my_symbol\#{1 + 1}"
+ :'my_symbol#{1 + 1}' #=> :"my_symbol\#{1 + 1}"
When creating a Hash there is a special syntax for referencing a Symbol as
well.