1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix links to Dig Methods document (#3421)

* Fix links to Dig Methods document

* Fix links to Dig Methods document
This commit is contained in:
Burdette Lamar 2020-08-14 18:55:04 -05:00 committed by GitHub
parent fee1b98fde
commit c84ccf1a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2020-08-15 08:55:41 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
4 changed files with 4 additions and 4 deletions

View file

@ -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]]]

2
hash.c
View file

@ -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}}}

View file

@ -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"

View file

@ -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)