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

ruby-changes:67975

From: Burdette <ko1@a...>
Date: Tue, 14 Sep 2021 00:37:36 +0900 (JST)
Subject: [ruby-changes:67975] 94dea77cd6 (master): Links for What's Here sections (#4827)

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

From 94dea77cd6d16f85fabbeb53e12accf37e5f6159 Mon Sep 17 00:00:00 2001
From: Burdette Lamar <BurdetteLamar@Y...>
Date: Mon, 13 Sep 2021 10:37:15 -0500
Subject: Links for What's Here sections (#4827)

Makes What's Here sections in Time and Dir link to What's Here for super and included modules (like all the others).
---
 dir.rb   | 8 +++++++-
 timev.rb | 7 ++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/dir.rb b/dir.rb
index 202f899..a676893 100644
--- a/dir.rb
+++ b/dir.rb
@@ -9,7 +9,13 @@ https://github.com/ruby/ruby/blob/trunk/dir.rb#L9
 #
 # == What's Here
 #
-# \Class \Dir provides methods that are useful for:
+# First, what's elsewhere. \Class \Dir:
+#
+# - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here].
+# - Includes {module Enumerable}[Enumerable.html#module-Enumerable-label-What-27s+Here],
+#   which provides dozens of additional methods.
+#
+# Here, class \Dir provides methods that are useful for:
 #
 # - {Reading}[#class-Dir-label-Reading]
 # - {Setting}[#class-Dir-label-Setting]
diff --git a/timev.rb b/timev.rb
index beb7aaa..1be675d 100644
--- a/timev.rb
+++ b/timev.rb
@@ -93,7 +93,12 @@ https://github.com/ruby/ruby/blob/trunk/timev.rb#L93
 #
 # == What's Here
 #
-# \Class \Time provides methods that are useful for:
+# First, what's elsewhere. \Class \Time:
+#
+# - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here].
+# - Includes {module Comparable}[Comparable.html#module-Comparable-label-What-27s+Here].
+#
+# Here, class \Time provides methods that are useful for:
 #
 # - {Creating \Time objects}[#class-Time-label-Methods+for+Creating].
 # - {Fetching \Time values}[#class-Time-label-Methods+for+Fetching].
-- 
cgit v1.1


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

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