From 94dea77cd6d16f85fabbeb53e12accf37e5f6159 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Mon, 13 Sep 2021 10:37:15 -0500 Subject: [PATCH] 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 202f899b00..a6768939d4 100644 --- a/dir.rb +++ b/dir.rb @@ -9,7 +9,13 @@ # # == 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 beb7aaaad2..1be675df35 100644 --- a/timev.rb +++ b/timev.rb @@ -93,7 +93,12 @@ # # == 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].