From dcb705ace7f1152d185d42ed2db4a6d44749961a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 29 Sep 2020 15:28:09 +0900 Subject: doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip] --- doc/syntax/literals.rdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/syntax') 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: -- cgit v1.2.3