Skip to content

Commit

Permalink
fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
akr committed Jun 3, 2024
1 parent ac62ada commit 61af722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/syntax/literals.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
%q<foo<bar>baz> # => "foo[bar]baz" # angle brackets can be nested.
%q{foo{bar}baz} # => "foo{bar}baz" # braces can be nested.
%q<foo<bar>baz> # => "foo<bar>baz" # angle brackets can be nested.

=== <tt>% and %Q</tt>: Interpolable String Literals

Expand Down

0 comments on commit 61af722

Please sign in to comment.