ruby-changes:71522
From: Nobuyoshi <ko1@a...>
Date: Sun, 27 Mar 2022 11:24:30 +0900 (JST)
Subject: [ruby-changes:71522] 1b0f05168d (master): [DOC] Fix references to unary operator
https://git.ruby-lang.org/ruby.git/commit/?id=1b0f05168d From 1b0f05168d802c92b1b5f870954cf503dad6e3b1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 27 Mar 2022 11:24:06 +0900 Subject: [DOC] Fix references to unary operator --- string.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/string.c b/string.c index f100f9d074..84a9d5f9ed 100644 --- a/string.c +++ b/string.c @@ -12266,10 +12266,10 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc) https://github.com/ruby/ruby/blob/trunk/string.c#L12266 * * === Methods for a Frozen/Unfrozen String * - * - #+string:: Returns a string that is not frozen: +self+, if not frozen; - * +self.dup+ otherwise. - * - #-string:: Returns a string that is frozen: +self+, if already frozen; - * +self.freeze+ otherwise. + * - #+@:: Returns a string that is not frozen: +self+, if not frozen; + * +self.dup+ otherwise. + * - #-@:: Returns a string that is frozen: +self+, if already frozen; + * +self.freeze+ otherwise. * - #freeze:: Freezes +self+, if not already frozen; returns +self+. * * === Methods for Querying -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/