Method: StudioGame::Player#to_s

Defined in:
lib/studio_game/player.rb

#to_sObject



40
41
42
# File 'lib/studio_game/player.rb', line 40

def to_s
  "I'm #{@name} with health = #{@health}, points = #{points}, and score = #{score}."
end