diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index c871d2780d..f49097268d 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -143,8 +143,9 @@ Double-quote strings allow interpolation of other values using Any expression may be placed inside the interpolated section, but it's best to keep the expression small for readability. -You can also use #@foo and #$foo as a shorthand for, -respentively, #{ @foo } and #{ $foo }. +You can also use #@foo, #@@foo and #$foo as a +shorthand for, respentively, #{ @foo }, #{ @@foo } and +#{ $foo }. Interpolation may be disabled by escaping the "#" character or using single-quote strings: