ruby-changes:39791
From: nobu <ko1@a...>
Date: Wed, 16 Sep 2015 14:31:51 +0900 (JST)
Subject: [ruby-changes:39791] nobu:r51872 (trunk): literals.rdoc: fix typos
nobu 2015-09-16 14:31:26 +0900 (Wed, 16 Sep 2015) New Revision: 51872 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51872 Log: literals.rdoc: fix typos * doc/syntax/literals.rdoc (Strings): fix typos. Modified files: trunk/doc/syntax/literals.rdoc Index: doc/syntax/literals.rdoc =================================================================== --- doc/syntax/literals.rdoc (revision 51871) +++ doc/syntax/literals.rdoc (revision 51872) @@ -133,13 +133,13 @@ Basically only one character can be plac https://github.com/ruby/ruby/blob/trunk/doc/syntax/literals.rdoc#L133 ?abc #=> SyntaxError Exceptionally, <tt>\C-</tt>, <tt>\M-</tt> 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/