From 61af722d4e2899784a58d06f2be0d67cab9d0efa Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 3 Jun 2024 14:37:32 +0900 Subject: [PATCH] fix typos. --- doc/syntax/literals.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index 01df0c09b84309..0d581a57878311 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -471,8 +471,8 @@ The created string is the same as if you created it with single quotes: %q(1 + 1 is #{1 + 1}) # => "1 + 1 is \#{1 + 1}" # No interpolation. %q[foo[bar]baz] # => "foo[bar]baz" # brackets can be nested. %q(foo(bar)baz) # => "foo(bar)baz" # parenthesis can be nested. - %q{foo{bar}baz} # => "foo[bar]baz" # braces can be nested. - %qbaz> # => "foo[bar]baz" # angle brackets can be nested. + %q{foo{bar}baz} # => "foo{bar}baz" # braces can be nested. + %qbaz> # => "foobaz" # angle brackets can be nested. === % and %Q: Interpolable String Literals