[前][次][番号順一覧][スレッド一覧]

ruby-changes:55712

From: Nobuyoshi <ko1@a...>
Date: Tue, 14 May 2019 00:32:56 +0900 (JST)
Subject: [ruby-changes:55712] Nobuyoshi Nakada: d2003a6d39 (trunk): Symbol just represents a name

https://git.ruby-lang.org/ruby.git/commit/?id=d2003a6d39

From d2003a6d392b3b0054d7528e2e731584196aefad Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 14 May 2019 00:30:08 +0900
Subject: Symbol just represents a name


diff --git a/string.c b/string.c
index 1dafb2c..b37b854 100644
--- a/string.c
+++ b/string.c
@@ -10592,8 +10592,8 @@ rb_str_unicode_normalized_p(int argc, VALUE *argv, VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L10592
 /**********************************************************************
  * Document-class: Symbol
  *
- *  Symbol objects represent names and some strings inside the Ruby
- *  interpreter. They are generated using the <code>:name</code> and
+ *  Symbol objects represent names inside the Ruby interpreter. They
+ *  are generated using the <code>:name</code> and
  *  <code>:"string"</code> literals syntax, and by the various
  *  <code>to_sym</code> methods. The same Symbol object will be
  *  created for a given name or string for the duration of a program's
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]