From 22190b3f32010075c1dacd6d9cbec3fa488a6187 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 16 Sep 2015 05:31:26 +0000 Subject: literals.rdoc: fix typos * doc/syntax/literals.rdoc (Strings): fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/syntax/literals.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index 2dac68b77a..1d4ca80ada 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -133,13 +133,13 @@ Basically only one character can be placed after ?: ?abc #=> SyntaxError Exceptionally, \C-, \M- and their combination are allowed -before a character. They means "control", "meta" and "control-meta" +before a character. They mean "control", "meta" and "control-meta" respectively: ?\C-a #=> "\x01" ?\M-a #=> "\xE1" ?\M-\C-a #=> "\x81" - ?\C-\A-a #=> "\x81", same as above + ?\C-\M-a #=> "\x81", same as above === Here Documents -- cgit v1.2.3