lib/games/mastermind/board.rb in games_bfox-0.4.0 vs lib/games/mastermind/board.rb in games_bfox-0.6.0
- old
+ new
@@ -30,14 +30,14 @@
result_pegs.current_row(number_of_turns_taken)
end
private
def retrieve_peg(row, col)
- return pegs.retrieve_peg(row, col)
+ pegs.retrieve_peg(row, col)
end
#result_pegs is an instance of pegs
def retrieve_result_peg(row, col)
- return result_pegs.retrieve_peg(row,col)
+ result_pegs.retrieve_peg(row,col)
end
end
end