summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2020-08-14 18:55:04 -0500
committerGitHub <noreply@github.com>2020-08-14 18:55:04 -0500
commitc84ccf1a0780d2542381c904b8dd524f316bb237 (patch)
tree5a413ffed7cdba50620bf88feb226362cf1cc9d1
parentfee1b98fde20eef7d5b7f717c5988fb2303f54a3 (diff)
Fix links to Dig Methods document (#3421)
* Fix links to Dig Methods document * Fix links to Dig Methods document
Notes
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
-rw-r--r--array.c2
-rw-r--r--hash.c2
-rw-r--r--lib/ostruct.rb2
-rw-r--r--struct.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/array.c b/array.c
index 6c667a340f..d3e1985f55 100644
--- a/array.c
+++ b/array.c
@@ -8645,7 +8645,7 @@ rb_ary_one_p(int argc, VALUE *argv, VALUE ary)
* Finds and returns the object in nested objects
* that is specified by +index+ and +identifiers+.
* The nested objects may be instances of various classes.
- * See {Dig Methods}[doc/dig_methods_rdoc.html].
+ * See {Dig Methods}[rdoc-ref:doc/dig_methods.rdoc].
*
* Examples:
* a = [:foo, [:bar, :baz, [:bat, :bam]]]
diff --git a/hash.c b/hash.c
index 329aa335c6..a3853e8ef3 100644
--- a/hash.c
+++ b/hash.c
@@ -5085,7 +5085,7 @@ rb_hash_any_p(int argc, VALUE *argv, VALUE hash)
* Finds and returns the object in nested objects
* that is specified by +key+ and +identifiers+.
* The nested objects may be instances of various classes.
- * See {Dig Methods}[doc/dig_methods_rdoc.html].
+ * See {Dig Methods}[rdoc-ref:doc/dig_methods.rdoc].
*
* Examples:
* h = {foo: {bar: {baz: 2}}}
diff --git a/lib/ostruct.rb b/lib/ostruct.rb
index 7192a0731c..09d81b8a5a 100644
--- a/lib/ostruct.rb
+++ b/lib/ostruct.rb
@@ -261,7 +261,7 @@ class OpenStruct
# Finds and returns the object in nested objects
# that is specified by +name+ and +identifiers+.
# The nested objects may be instances of various classes.
- # See {Dig Methods}[doc/dig_methods_rdoc.html].
+ # See {Dig Methods}[rdoc-ref:doc/dig_methods.rdoc].
#
# Examples:
# require "ostruct"
diff --git a/struct.c b/struct.c
index efd6bc0177..bc89ec5cfc 100644
--- a/struct.c
+++ b/struct.c
@@ -1333,7 +1333,7 @@ rb_struct_size(VALUE s)
* Finds and returns the object in nested objects
* that is specified by +key+ and +identifiers+.
* The nested objects may be instances of various classes.
- * See {Dig Methods}[doc/dig_methods_rdoc.html].
+ * See {Dig Methods}[rdoc-ref:doc/dig_methods.rdoc].
*
* Examples:
* Foo = Struct.new(:a)