Skip to content

Commit 972aaf3

Browse files
authored
Update chess_game.rb
The method 'nick_name' is not consistent with the instructions' version (nickname), and since 'nickname' is a whole word, it makes sense without the underscore.
1 parent 1268fbd commit 972aaf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/chess-game/chess_game.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def self.valid_square?(rank, file)
66
raise "Please implement the Chess.valid_square? method"
77
end
88

9-
def self.nick_name(first_name, last_name)
9+
def self.nickname(first_name, last_name)
1010
raise "Please implement the Chess.nick_name method"
1111
end
1212

0 commit comments

Comments
 (0)