From a5c3ca07f8a28f79acd47cd8e34233acff41e304 Mon Sep 17 00:00:00 2001 From: charliesome Date: Sat, 10 Aug 2013 20:56:13 +0000 Subject: * 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 --- doc/syntax/literals.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index bfe070b0ab..d521cafe31 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. -- cgit v1.2.3