From e923a99984533455286fafbc0a26ccdec312e345 Mon Sep 17 00:00:00 2001 From: Carl Date: Sat, 23 Sep 2023 10:07:49 +0200 Subject: [PATCH] Fixes --- concepts/ranges/about.md | 2 +- concepts/ranges/introduction.md | 2 +- exercises/concept/chess-game/.docs/instructions.md | 6 +++--- exercises/concept/chess-game/.docs/introduction.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/concepts/ranges/about.md b/concepts/ranges/about.md index 8509ad3982..7f3042cf62 100644 --- a/concepts/ranges/about.md +++ b/concepts/ranges/about.md @@ -45,7 +45,7 @@ You can also use negative indexes to get the substring from the end of the strin ```ruby "Hello World"[-5..-1] # => "World" -"Hello World"[6..-4] # => "Wor" +"Hello World"[6..-4] # => "Wo" ``` ## Range methods diff --git a/concepts/ranges/introduction.md b/concepts/ranges/introduction.md index 33fe5a894a..5f184ec49f 100644 --- a/concepts/ranges/introduction.md +++ b/concepts/ranges/introduction.md @@ -45,7 +45,7 @@ You can also use negative indexes to get the substring from the end of the strin ```ruby "Hello World"[-5..-1] # => "World" -"Hello World"[6..-4] # => "Wor" +"Hello World"[6..-4] # => "Wo" ``` ## Range methods diff --git a/exercises/concept/chess-game/.docs/instructions.md b/exercises/concept/chess-game/.docs/instructions.md index 58326fbb3c..4941cb9c32 100644 --- a/exercises/concept/chess-game/.docs/instructions.md +++ b/exercises/concept/chess-game/.docs/instructions.md @@ -16,13 +16,13 @@ The ranks are the rows of the board, and are numbered from 1 to 8. The game will also have to store the files of the board. The files are the columns of the board and are identified by the letters A to H. -Define the `Chess::Ranks` and `Chess::Files` constants that store the range of ranks and files respectively. +Define the `Chess::RANKS` and `Chess::FILES` constants that store the range of ranks and files respectively. ```ruby -Chess::Ranks +Chess::RANKS # => 1..8 -Chess::Files +Chess::FILES # => 'A'..'H' ``` diff --git a/exercises/concept/chess-game/.docs/introduction.md b/exercises/concept/chess-game/.docs/introduction.md index 33fe5a894a..5f184ec49f 100644 --- a/exercises/concept/chess-game/.docs/introduction.md +++ b/exercises/concept/chess-game/.docs/introduction.md @@ -45,7 +45,7 @@ You can also use negative indexes to get the substring from the end of the strin ```ruby "Hello World"[-5..-1] # => "World" -"Hello World"[6..-4] # => "Wor" +"Hello World"[6..-4] # => "Wo" ``` ## Range methods