From b8fe5550e7e0e623805a954b148286bda2b38ecd Mon Sep 17 00:00:00 2001 From: ydah Date: Sun, 22 Dec 2024 17:39:00 +0900 Subject: [PATCH] s/backslashs/backslashes/ --- 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 c92783565b..9ccc043529 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -513,7 +513,7 @@ The created string is the same as if you created it with single quotes: %q{foo{bar}baz} # => "foo{bar}baz" # braces can be nested. %qbaz> # => "foobaz" # angle brackets can be nested. -This is similar to single-quoted string but only backslashs and +This is similar to single-quoted string but only backslashes and the specified delimiters can be escaped with a backslash. === % and %Q: Interpolable String Literals @@ -590,7 +590,7 @@ You can write a symbol with %s: This is non-interpolable. No interpolation allowed. -Only backslashs and the specified delimiters can be escaped with a backslash. +Only backslashes and the specified delimiters can be escaped with a backslash. === %r: Regexp Literals