Posts by Rodrigo Castro • 111 points
1 post
-
1
votes2
answers147
viewsA: Where’s my mistake in this Ruby code?
As Gleyson has already said, player_name is a local variable of the method player_choice_name. His solution is valid, but a better solution than creating instance variables is to take the return of…