diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/syntax/literals.rdoc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index 32e10edd30..194945abbd 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -199,9 +199,6 @@ You may also create symbols by interpolation: :"my_symbol1" :"my_symbol#{1 + 1}" -Note that symbols are never garbage collected so be careful when referencing -symbols using interpolation. - Like strings, a single-quote may be used to disable interpolation: :'my_symbol#{1 + 1}' #=> :"my_symbol\#{1 + 1}" |