Skip to content

Commit

Permalink
Forgot to change some old code.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Oct 25, 2023
1 parent b28ce58 commit 5534396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mars_rover.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def direction
end

def inspect
"a Mars Rover located at #{@current_position} facing #{@direction}"
"a Mars Rover located at #{@current_location.coordinates} facing #{@current_location.direction}"
end

private
Expand Down

0 comments on commit 5534396

Please sign in to comment.