diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-09-29 15:28:09 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-09-29 15:28:09 +0900 |
commit | dcb705ace7f1152d185d42ed2db4a6d44749961a (patch) | |
tree | 912d63e9d2164c7fba9b4db12051cd40e166308c | |
parent | 2e947bc181794d1bcf26d700b2c2c15b53c45b36 (diff) |
doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip]
-rw-r--r-- | doc/syntax/literals.rdoc | 5 |
1 files changed, 3 insertions, 2 deletions
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 <tt>#@foo</tt> and <tt>#$foo</tt> as a shorthand for, -respentively, <tt>#{ @foo }</tt> and <tt>#{ $foo }</tt>. +You can also use <tt>#@foo</tt>, <tt>#@@foo</tt> and <tt>#$foo</tt> as a +shorthand for, respentively, <tt>#{ @foo }</tt>, <tt>#{ @@foo }</tt> and +<tt>#{ $foo }</tt>. Interpolation may be disabled by escaping the "#" character or using single-quote strings: |