Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/arrays/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ a # => [{"cat"=>"feline"}, {}]

Another characteristic of Ruby arrays is that they mix in the [Enumerable][enumerable-module] module, which adds a lot of handy methods to iterate, search, sort, filter, etc. elements of an array.

[enumerable-module]: https://ruby-doc.org/core-2.7.1/Enumerable.html
[enumerable-module]: https://docs.ruby-lang.org/en/master/Enumerable.html
[for-loop]: https://launchschool.com/books/ruby/read/loops_iterators#forloops
2 changes: 1 addition & 1 deletion concepts/arrays/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ arr.pop #=> 6
arr #=> [1, 2, 3, 4, 5]
```

[enumerable-module]: https://ruby-doc.org/core-2.7.1/Enumerable.html
[enumerable-module]: https://docs.ruby-lang.org/en/master/Enumerable.html
2 changes: 1 addition & 1 deletion concepts/arrays/links.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"url": "https://ruby-doc.org/core-2.7.1/Enumerable.html",
"url": "https://docs.ruby-lang.org/en/master/Enumerable.html",
"description": "enumerable-module"
}
]
2 changes: 1 addition & 1 deletion concepts/basics/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Car.new.run

Finally, bear in mind that the `Integer` object holds values that may be defined as one or more (consecutive) digits and its methods support many of the [mathematical operators][integers-docs].

[integers-docs]: https://ruby-doc.org/core-2.7.0/Integer.html
[integers-docs]: https://docs.ruby-lang.org/en/master/Integer.html

~~~~exercism/note
The communication in documentation often will reference instance methods using syntax like `Class#method_name` while class or module level methods are referenced as `Class::method_name`.
Expand Down
2 changes: 1 addition & 1 deletion concepts/basics/links.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"url": "https://ruby-doc.org/core-2.7.0/Integer.html",
"url": "https://docs.ruby-lang.org/en/master/Integer.html",
"description": "integers-docs"
}
]
4 changes: 3 additions & 1 deletion concepts/enumeration/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ words.each { |animal, name| ... }
words.each.with_index { |(animal, name), index| ... }
```

The methods described above are part of the [`Enumerable` module](https://ruby-doc.org/core-2.7.1/Enumerable.html) which is included in `Array`, `Hash` and other classes that require the ability to enumerate.
The methods described above are part of the [`Enumerable` module][enumerable-module] which is included in `Array`, `Hash` and other classes that require the ability to enumerate.

[enumerable-module]: https://docs.ruby-lang.org/en/master/Enumerable.html
3 changes: 2 additions & 1 deletion concepts/floating-point-numbers/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# About

A floating-point number is a number with zero or more digits behind the decimal separator. Examples are `4.0`, `0.1`, `3.14`, `-6.4` `16.984025` and `1024.0`. In Ruby, floating-point numbers are implemented through the [Float](https://ruby-doc.org/core-2.7.0/Float.html) class.
A floating-point number is a number with zero or more digits behind the decimal separator. Examples are `4.0`, `0.1`, `3.14`, `-6.4` `16.984025` and `1024.0`. In Ruby, floating-point numbers are implemented through the [Float][Float] class.

You can find a short introduction to floating-point numbers at [0.30000000000000004.com][0.30000000000000004.com].

Expand Down Expand Up @@ -51,5 +51,6 @@ end

As you have probably noticed, Ruby has no increment operator (`i++`) like some other languages do. Instead, constructs like `i += 1` (which is equal to `i = i + 1`) can be used.

[Float]: https://docs.ruby-lang.org/en/master/Float.html
[0.30000000000000004.com]: https://0.30000000000000004.com/
[evanw.github.io-float-toy]: https://evanw.github.io/float-toy/
4 changes: 3 additions & 1 deletion concepts/floating-point-numbers/introduction.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Loops

A floating-point number is a number with zero or more digits behind the decimal separator. Examples are `4.0`, `0.1`, `3.14`, `-6.4` `16.984025` and `1024.0`.
In Ruby, floating-point numbers are implemented through the [Float](https://ruby-doc.org/core-2.7.0/Float.html) class.
In Ruby, floating-point numbers are implemented through the [Float][Float] class.

[Float]: https://docs.ruby-lang.org/en/master/Float.html
2 changes: 1 addition & 1 deletion concepts/floating-point-numbers/links.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"url": "https://ruby-doc.org/core-2.7.0/Float.html",
"url": "https://docs.ruby-lang.org/en/master/Float.html",
"description": "Float"
},
{
Expand Down
3 changes: 0 additions & 3 deletions concepts/loops/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,3 @@ end
```

As you have probably noticed, Ruby has no increment operator (`i++`) like some other languages do. Instead, constructs like `i += 1` (which is equal to `i = i + 1`) can be used.

[0.30000000000000004.com]: https://0.30000000000000004.com/
[evanw.github.io-float-toy]: https://evanw.github.io/float-toy/
2 changes: 1 addition & 1 deletion concepts/modules/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ module Speaker
end

Speaker.echo("Hello") #=> "Hello ... Hello"
```
```
8 changes: 4 additions & 4 deletions concepts/multiple-assignment-and-decomposition/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ my_method(**numbers)
1
```

[arguments]: https://docs.ruby-lang.org/en/3.1/syntax/methods_rdoc.html#label-Array-2FHash+Argument
[keyword arguments]: https://docs.ruby-lang.org/en/3.1/syntax/methods_rdoc.html#label-Keyword+Arguments
[multiple assignment]: https://docs.ruby-lang.org/en/3.1/syntax/assignment_rdoc.html#label-Multiple+Assignment
[arguments]: https://docs.ruby-lang.org/en/master/syntax/methods_rdoc.html#label-Array-2FHash+Argument
[keyword arguments]: https://docs.ruby-lang.org/en/maste/syntax/methods_rdoc.html#label-Keyword+Arguments
[multiple assignment]: https://docs.ruby-lang.org/en/master/syntax/assignment_rdoc.html#label-Multiple+Assignment
[sorting algorithms]: https://en.wikipedia.org/wiki/Sorting_algorithm
[decompose]: https://docs.ruby-lang.org/en/3.1/syntax/assignment_rdoc.html#label-Array+Decomposition
[decompose]: https://docs.ruby-lang.org/en/master/syntax/assignment_rdoc.html#label-Array+Decomposition
[delimited decomposition expression]: https://riptutorial.com/ruby/example/8798/decomposition
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ You will often see these arguments defined as `def some_method(*args, **kwargs)`
While `*` and `**` are used for multiplication and exponentiation, respectively, `*<variable_name>` and `**<variable_name>` are used as composition and decomposition operators.
~~~~

[multiple assignment]: https://docs.ruby-lang.org/en/3.1/syntax/assignment_rdoc.html#label-Multiple+Assignment
[multiple assignment]: https://docs.ruby-lang.org/en/master/syntax/assignment_rdoc.html#label-Multiple+Assignment
4 changes: 2 additions & 2 deletions concepts/numbers/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ The same problem can sometimes be solved using different types of conditional st
[arithmetic-operators]: https://www.tutorialspoint.com/ruby/ruby_operators.htm
[comparison-operators]: https://www.w3resource.com/ruby/ruby-comparison-operators.php
[if-else-unless]: https://www.w3resource.com/ruby/ruby-if-else-unless.php
[integer-ruby]: https://ruby-doc.org/core-2.7.1/Integer.html
[float-ruby]: https://ruby-doc.org/core-2.7.1/Float.html
[integer-ruby]: https://docs.ruby-lang.org/en/master/Integer.html
[float-ruby]: https://docs.ruby-lang.org/en/master/Float.html
4 changes: 2 additions & 2 deletions concepts/numbers/links.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"url": "https://ruby-doc.org/core-2.7.1/Integer.html",
"url": "https://docs.ruby-lang.org/en/master/Integer.html",
"description": "integer-ruby"
},
{
"url": "https://ruby-doc.org/core-2.7.1/Float.html",
"url": "https://docs.ruby-lang.org/en/master/Float.html",
"description": "float-ruby"
},
{
Expand Down
8 changes: 4 additions & 4 deletions concepts/ranges/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ end
```
~~~~

[range]: https://rubyapi.org/o/range
[sum]: https://rubyapi.org/o/enumerable#method-i-sum
[size]: https://rubyapi.org/o/range#method-i-size
[indlude]: https://rubyapi.org/o/range#method-i-include-3F
[range]: https://docs.ruby-lang.org/en/master/Range.html
[sum]: https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-sum
[size]: https://docs.ruby-lang.org/en/master/Range.html#method-i-size
[indlude]: https://docs.ruby-lang.org/en/master/Range.html#method-i-include-3F
9 changes: 5 additions & 4 deletions concepts/ranges/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Its behavior can be a bit unexpected when using certain strings, so use it with
"aa".."az".to_a # => ["aa", "ab", "ac", ..., "az"]
```

[range]: https://rubyapi.org/o/range
[sum]: https://rubyapi.org/o/enumerable#method-i-sum
[size]: https://rubyapi.org/o/range#method-i-size
[indlude]: https://rubyapi.org/o/range#method-i-include-3F
[range]: https://docs.ruby-lang.org/en/master/Range.html
[sum]: https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-sum
[size]: https://docs.ruby-lang.org/en/master/Range.html#method-i-size
[indlude]: https://docs.ruby-lang.org/en/master/Range.html#method-i-include-3F

4 changes: 2 additions & 2 deletions concepts/ranges/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Ruby Guides: Ruby Ranges: How Do They Work?"
},
{
"url": "https://rubyapi.org/o/range",
"description": "Ruby api: Ranges"
"url": "https://docs.ruby-lang.org/en/master/Range.html",
"description": "Ruby docs: Ranges"
}
]

2 changes: 1 addition & 1 deletion concepts/strings/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ It's also worth knowing that strings can be created using single quotes (`'`) or
You can also create strings using the [heredoc syntax][ruby-heredoc] or using the `%q` and `%Q` helpers.

[ruby-for-beginners.rubymonstas.org-interpolation]: http://ruby-for-beginners.rubymonstas.org/bonus/string_interpolation.html
[ruby-doc.org-string]: https://ruby-doc.org/core-2.7.0/String.html
[ruby-doc.org-string]: https://docs.ruby-lang.org/en/master/String.html
[ruby-heredoc]: https://www.rubyguides.com/2018/11/ruby-heredoc/
2 changes: 1 addition & 1 deletion concepts/strings/links.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"url": "https://ruby-doc.org/core-2.7.0/String.html",
"url": "https://docs.ruby-lang.org/en/master/String.html",
"description": "ruby-doc.org-string"
},
{
Expand Down
8 changes: 4 additions & 4 deletions concepts/symbols/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Foo.instance_methods # => [:baz]
local_variables # => [:a]
```

All methods can be found in the [Kernel API][kernal-api] and [Module API][module-api].
All methods can be found in the [Kernel API][kernel-api] and [Module API][module-api].

[symbols]: https://www.rubyguides.com/2018/02/ruby-symbols/
[symbols-api]: https://rubyapi.org/o/symbol
[kernal-api]: https://rubyapi.org/o/kernel
[module-api]: https://rubyapi.org/o/module
[symbols-api]: https://docs.ruby-lang.org/en/master/Symbol.html
[kernel-api]: https://docs.ruby-lang.org/en/master/Kernel.html
[module-api]: https://docs.ruby-lang.org/en/master/Module.html
2 changes: 1 addition & 1 deletion concepts/symbols/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Due to symbols having a limited set of methods, it can be useful to convert a sy
```

[symbols]: https://www.rubyguides.com/2018/02/ruby-symbols/
[symbols-api]: https://rubyapi.org/o/symbol
[symbols-api]: https://docs.ruby-lang.org/en/master/Symbol.html
4 changes: 2 additions & 2 deletions concepts/symbols/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Ruby Guides: Ruby Symbols"
},
{
"url": "https://rubyapi.org/symbol/",
"description": "Ruby API: Symbol"
"url": "https://docs.ruby-lang.org/en/master/Symbol.html",
"description": "Ruby docs: Symbol"
}
]
4 changes: 2 additions & 2 deletions exercises/concept/assembly-line/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@

[comparison-operators]: https://www.w3resource.com/ruby/ruby-comparison-operators.php
[if-else-unless]: https://www.w3resource.com/ruby/ruby-if-else-unless.php
[to_f]: https://apidock.com/ruby/v2_6_3/Integer/to_f
[to_i]: https://apidock.com/ruby/Float/to_i
[to_f]: https://docs.ruby-lang.org/en/master/Integer.html#method-i-to_f
[to_i]: https://docs.ruby-lang.org/en/master/Float.html#method-i-to_i
4 changes: 2 additions & 2 deletions exercises/concept/assembly-line/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This exercise does not require any specific representation logic to be added to

This exercise does not require any specific logic to be added to the [analyzer][analyzer].

[integer-ruby]: https://ruby-doc.org/core-2.7.1/Integer.html
[float-ruby]: https://ruby-doc.org/core-2.7.1/Float.html
[integer-ruby]: https://docs.ruby-lang.org/en/master/Integer.html
[float-ruby]: https://docs.ruby-lang.org/en/master/Float.html
[analyzer]: https://github.com/exercism/ruby-analyzer
[representer]: https://github.com/exercism/ruby-representer
12 changes: 6 additions & 6 deletions exercises/concept/bird-count/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

[instance-variables]: http://ruby-for-beginners.rubymonstas.org/writing_classes/instance_variables.html
[class-method]: http://www.rubyfleebie.com/2007/04/09/understanding-class-methods-in-ruby/
[array-definition]: https://ruby-doc.org/core-2.7.0/Array.html#class-Array-label-Creating+Arrays
[array-length]: https://ruby-doc.org/core-2.7.0/Array.html#class-Array-label-Obtaining+Information+about+an+Array
[array-sum]: https://ruby-doc.org/core-2.7.0/Array.html#method-i-sum
[array-count]: https://ruby-doc.org/core-2.7.0/Array.html#method-i-count
[enumerable-any]: https://ruby-doc.org/core-2.7.0/Enumerable.html#method-i-any-3F
[enumerable-all]: https://ruby-doc.org/core-2.7.0/Enumerable.html#method-i-all-3F
[array-definition]: https://docs.ruby-lang.org/en/master/Array.html#class-Array-label-Creating+Arrays
[array-length]: https://docs.ruby-lang.org/en/master/Array.html#class-Array-label-Obtaining+Information+about+an+Array
[array-sum]: https://docs.ruby-lang.org/en/master/Array.html#method-i-sum
[array-count]: https://docs.ruby-lang.org/en/master/Array.html#method-i-count
[enumerable-any]: https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-any-3F
[enumerable-all]: https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-all-3F
2 changes: 1 addition & 1 deletion exercises/concept/blackjack/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
all (or some) of these categories.

[case]: https://www.rubyguides.com/2015/10/ruby-case/
[range]: https://rubyapi.org/o/range
[range]: https://docs.ruby-lang.org/en/master/Range.html
12 changes: 6 additions & 6 deletions exercises/concept/chess-game/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
- You can use already defined methods to get the nickname of the player and to check if the move is valid.

[constants]: https://www.rubyguides.com/2017/07/ruby-constants/
[integers]: https://rubyapi.org/o/integer
[string]: https://rubyapi.org/o/string
[module]: https://rubyapi.org/o/module
[include]: https://rubyapi.org/o/range#method-i-include-3F
[range]: https://rubyapi.org/o/range
[upcase]: https://rubyapi.org/o/string#method-i-upcase
[integers]: https://docs.ruby-lang.org/en/master/Integer.html
[string]: https://docs.ruby-lang.org/en/master/String.html
[module]: https://docs.ruby-lang.org/en/master/Module.html
[include]: https://docs.ruby-lang.org/en/master/Range.html#method-i-include-3F
[range]: https://docs.ruby-lang.org/en/master/Range.html
[upcase]: https://docs.ruby-lang.org/en/master/String.html#method-i-upcase
8 changes: 4 additions & 4 deletions exercises/concept/chess-game/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Its behavior can be a bit unexpected when using certain strings, so use it with
("aa".."az").to_a # => ["aa", "ab", "ac", ..., "az"]
```

[range]: https://rubyapi.org/o/range
[sum]: https://rubyapi.org/o/enumerable#method-i-sum
[size]: https://rubyapi.org/o/range#method-i-size
[indlude]: https://rubyapi.org/o/range#method-i-include-3F
[range]: https://docs.ruby-lang.org/en/master/Range.html
[sum]: https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-sum
[size]: https://docs.ruby-lang.org/en/master/Range.html#method-i-size
[indlude]: https://docs.ruby-lang.org/en/master/Range.html#method-i-include-3F
2 changes: 1 addition & 1 deletion exercises/concept/lasagna/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
[operators]: https://www.w3resource.com/ruby/ruby-arithmetic-operators.php
[constants]: https://www.rubyguides.com/2017/07/ruby-constants/
[invocation]: http://ruby-for-beginners.rubymonstas.org/objects/calling.html
[integers]: https://ruby-doc.org/core-2.7.0/Integer.html
[integers]: https://docs.ruby-lang.org/en/master/Integer.html
8 changes: 4 additions & 4 deletions exercises/concept/locomotive-engineer/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ my_method(**numbers)
1
```

[arguments]: https://docs.ruby-lang.org/en/3.1/syntax/methods_rdoc.html#label-Array-2FHash+Argument
[keyword arguments]: https://docs.ruby-lang.org/en/3.1/syntax/methods_rdoc.html#label-Keyword+Arguments
[multiple assignment]: https://docs.ruby-lang.org/en/3.1/syntax/assignment_rdoc.html#label-Multiple+Assignment
[arguments]: https://docs.ruby-lang.org/en/master/syntax/methods_rdoc.html#label-Array-2FHash+Argument
[keyword arguments]: https://docs.ruby-lang.org/en/master/syntax/methods_rdoc.html#label-Keyword+Arguments
[multiple assignment]: https://docs.ruby-lang.org/en/master/syntax/assignment_rdoc.html#label-Multiple+Assignment
[sorting algorithms]: https://en.wikipedia.org/wiki/Sorting_algorithm
[decompose]: https://docs.ruby-lang.org/en/3.1/syntax/assignment_rdoc.html#label-Array+Decomposition
[decompose]: https://docs.ruby-lang.org/en/master/syntax/assignment_rdoc.html#label-Array+Decomposition
[delimited decomposition expression]: https://riptutorial.com/ruby/example/8798/decomposition
6 changes: 3 additions & 3 deletions exercises/concept/log-line-parser/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

[ruby-for-beginners.rubymonstas.org-strings]: http://ruby-for-beginners.rubymonstas.org/built_in_classes/strings.html
[ruby-for-beginners.rubymonstas.org-interpolation]: http://ruby-for-beginners.rubymonstas.org/bonus/string_interpolation.html
[docs-string-methods]: https://ruby-doc.org/core-2.7.0/String.html
[strip-white-space]: https://ruby-doc.org/core-2.7.0/String.html#method-i-strip
[downcase]: https://ruby-doc.org/core-2.7.0/String.html#method-i-downcase
[docs-string-methods]: https://docs.ruby-lang.org/en/master/String.html
[strip-white-space]: https://docs.ruby-lang.org/en/master/String.html#method-i-strip
[downcase]: https://docs.ruby-lang.org/en/master/String.html#method-i-downcase
2 changes: 1 addition & 1 deletion exercises/concept/log-line-parser/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ my_string.capitalize! #=> "Hello"
puts my_string #=> "Hello"
```

[docs-string]: https://ruby-doc.org/core-2.7.0/String.html
[docs-string]: https://docs.ruby-lang.org/en/master/String.html
2 changes: 1 addition & 1 deletion exercises/concept/log-line-parser/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ This exercise does not require any specific logic to be added to the [analyzer][

[analyzer]: https://github.com/exercism/ruby-analyzer
[representer]: https://github.com/exercism/ruby-representer
[ruby-doc.org-string]: https://ruby-doc.org/core-2.7.0/String.html
[ruby-doc.org-string]: https://docs.ruby-lang.org/en/master/String.html
10 changes: 5 additions & 5 deletions exercises/concept/moviegoer/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
- Use one of the conditionals [`if`][doc-if]/[`unless`][doc-unless] to check if a moviegoer is entitled to free popcorn.
- Use [`raise`][doc-raise].

[doc-ternary]: https://ruby-doc.org/core-2.7.1/doc/syntax/control_expressions_rdoc.html#label-Ternary+if
[doc-if]: https://ruby-doc.org/core-2.7.2/doc/syntax/control_expressions_rdoc.html#label-if+Expression
[doc-unless]: https://ruby-doc.org/core-2.7.2/doc/syntax/control_expressions_rdoc.html#label-unless+Expression
[doc-raise]: https://ruby-doc.org/core-2.7.1/Kernel.html#method-i-raise
[doc-integer-gtoe]: https://ruby-doc.org/core-2.7.1/Integer.html#method-i-3E-3D
[doc-ternary]: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-Ternary+if
[doc-if]: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-if+Expression
[doc-unless]: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-unless+Expression
[doc-raise]: https://docs.ruby-lang.org/en/master/Kernel.html#method-i-raise
[doc-integer-gtoe]: https://docs.ruby-lang.org/en/master/Integer.html#method-i-3E-3D
8 changes: 4 additions & 4 deletions exercises/concept/port-palermo/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
- A string can be [slice][slice] to get parts of it.
- Use conditional [`if`][doc-if], to check if the ship is carrying `"OIL"` or `"GAS"`.

[doc-if]: https://ruby-doc.org/core/syntax/control_expressions_rdoc.html#label-if+Expression
[doc-if]: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-if+Expression
[constants]: https://www.rubyguides.com/2017/07/ruby-constants/
[upcase]: https://ruby-doc.org/core/String.html#method-i-upcase
[upcase]: https://docs.ruby-lang.org/en/master/String.html#method-i-upcase
[slice]: https://ruby-doc.org/core/String.html#class-String-label-String+Slices
[to_s]: https://rubyapi.org/symbol#method-i-to_s
[to_sym]: https://rubyapi.org/string#method-i-to_sym
[to_s]: https://docs.ruby-lang.org/en/master/Symbol.html#method-i-to_s
[to_sym]: https://docs.ruby-lang.org/en/master/String.html#method-i-to_sym
2 changes: 1 addition & 1 deletion exercises/concept/port-palermo/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Due to symbols having a limited set of methods, it can be useful to convert a sy
```

[symbols]: https://www.rubyguides.com/2018/02/ruby-symbols/
[symbols-api]: https://rubyapi.org/o/symbol
[symbols-api]: https://docs.ruby-lang.org/en/master/Symbol.html
2 changes: 1 addition & 1 deletion exercises/concept/savings-account/.meta/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ This exercise does not require any specific representation logic to be added to

This exercise does not require any specific logic to be added to the [analyzer][analyzer].

[float-class]: https://ruby-doc.org/core-2.7.0/Float.html
[float-class]: https://docs.ruby-lang.org/en/master/Float.html
[analyzer]: https://github.com/exercism/ruby-analyzer
[representer]: https://github.com/exercism/ruby-representer
4 changes: 3 additions & 1 deletion exercises/practice/accumulate/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Advanced

It is typical to call [#to_enum](http://ruby-doc.org/core-2.3.1/Object.html#method-i-to_enum) when defining methods for a generic Enumerable, in case no block is passed.
It is typical to call [#to_enum][to_enum] when defining methods for a generic Enumerable, in case no block is passed.

Here is an additional test you could add:

Expand All @@ -14,3 +14,5 @@ def test_accumulate_when_block_is_deferred
assert_equal [1, 4, 9], accumulated_result
end
```

[to_enum]: https://docs.ruby-lang.org/en/master/Object.html#method-i-to_enum
Loading