Skip to content

Commit 731a6a6

Browse files
authored
Add missing links for Array#fetch_values (#63)
Co-authored-by: Herwin <herwinw@users.noreply.github.com>
1 parent 84629d1 commit 731a6a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ A method that behaves like a mix between <a class="ruby-doc" href="https://docs.
566566
ary.fetch_values(1, 9, 5) { "default for #{it}" }
567567
#=> ["b", "default for 5", "default for 9"]
568568
```
569-
* **Notes:** Unlike [Array#values_at](), the method only allows integer indexes (not ranges). The discussion of whether it should be adjusted is [ongoing]():
569+
* **Notes:** Unlike <a class="ruby-doc" href="https://docs.ruby-lang.org/en/3.4/Array.html#method-i-values_at"><code>Array#values_at</code></a>, the method only allows integer indexes (not ranges). The discussion of whether it should be adjusted is [ongoing](https://bugs.ruby-lang.org/issues/20953):
570570
```ruby
571571
ary = %w[a b c d]
572572
ary.values_at(1, 2..5)

_src/3.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ A method that behaves like a mix between [Array#values_at](https://docs.ruby-lan
566566
ary.fetch_values(1, 9, 5) { "default for #{it}" }
567567
#=> ["b", "default for 5", "default for 9"]
568568
```
569-
* **Notes:** Unlike [Array#values_at](), the method only allows integer indexes (not ranges). The discussion of whether it should be adjusted is [ongoing]():
569+
* **Notes:** Unlike [Array#values_at](https://docs.ruby-lang.org/en/3.4/Array.html#method-i-values_at), the method only allows integer indexes (not ranges). The discussion of whether it should be adjusted is [ongoing](https://bugs.ruby-lang.org/issues/20953):
570570
```ruby
571571
ary = %w[a b c d]
572572
ary.values_at(1, 2..5)

0 commit comments

Comments
 (0)