ruby-changes:62574
From: Burdette <ko1@a...>
Date: Sat, 15 Aug 2020 08:55:25 +0900 (JST)
Subject: [ruby-changes:62574] c84ccf1a07 (master): Fix links to Dig Methods document (#3421)
https://git.ruby-lang.org/ruby.git/commit/?id=c84ccf1a07 From c84ccf1a0780d2542381c904b8dd524f316bb237 Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> Date: Fri, 14 Aug 2020 18:55:04 -0500 Subject: Fix links to Dig Methods document (#3421) * Fix links to Dig Methods document * Fix links to Dig Methods document diff --git a/array.c b/array.c index 6c667a3..d3e1985 100644 --- a/array.c +++ b/array.c @@ -8645,7 +8645,7 @@ rb_ary_one_p(int argc, VALUE *argv, VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L8645 * 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 329aa33..a3853e8 100644 --- a/hash.c +++ b/hash.c @@ -5085,7 +5085,7 @@ rb_hash_any_p(int argc, VALUE *argv, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L5085 * 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 7192a07..09d81b8 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -261,7 +261,7 @@ class OpenStruct https://github.com/ruby/ruby/blob/trunk/lib/ostruct.rb#L261 # 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 efd6bc0..bc89ec5 100644 --- a/struct.c +++ b/struct.c @@ -1333,7 +1333,7 @@ rb_struct_size(VALUE s) https://github.com/ruby/ruby/blob/trunk/struct.c#L1333 * 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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/