Cleaning up and writing tests
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Nathan Hinton 2 Oct 2025
|
||||
|
||||
|
||||
# Class for the player. For now does not do much.
|
||||
class Player
|
||||
attr_reader :name
|
||||
|
||||
# initializes with just the player name.
|
||||
#
|
||||
# @param name [String] The name of the player
|
||||
def initialize(name)
|
||||
@name = name
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user