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

ruby-changes:64971

From: BurdetteLamar <ko1@a...>
Date: Thu, 21 Jan 2021 02:39:03 +0900 (JST)
Subject: [ruby-changes:64971] 383685b52b (master): Explicit references to Enumerable

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

From 383685b52b086643f7d6e65a4d74fda90d3a64af Mon Sep 17 00:00:00 2001
From: BurdetteLamar <burdettelamar@y...>
Date: Tue, 19 Jan 2021 06:52:09 -0600
Subject: Explicit references to Enumerable


diff --git a/array.c b/array.c
index 7d10c1b..46c6d73 100644
--- a/array.c
+++ b/array.c
@@ -8077,7 +8077,10 @@ rb_ary_deconstruct(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L8077
  *
  *  == What's Here
  *
- *  Class Array provides methods that are useful for:
+ *  First, what's elsewhere. \Array includes the module Enumerable,
+ *  which provides dozens of additional methods.
+ *
+ *  Here, class \Array provides methods that are useful for:
  *
  *  - {Creating an Array}[#class-Array-label-Methods+for+Creating+an+Array]
  *  - {Querying}[#class-Array-label-Methods+for+Querying]
diff --git a/hash.c b/hash.c
index a7a29ba..b34351a 100644
--- a/hash.c
+++ b/hash.c
@@ -6845,7 +6845,10 @@ env_update(VALUE env, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L6845
  *
  *  === What's Here
  *
- *  \Class \Hash provides methods that are useful for:
+ *  First, what's elsewhere. \Hash includes the module Enumerable,
+ *  which provides dozens of additional methods.
+ *
+ *  Here, class \Hash provides methods that are useful for:
  *
  *  - {Creating a Hash}[#class-Hash-label-Methods+for+Creating+a+Hash]
  *  - {Setting Hash State}[#class-Hash-label-Methods+for+Setting+Hash+State]
-- 
cgit v0.10.2


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

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