I have a struct definition as
Player = Struct.new(:name, :level)
And a sample array
levels = [ \'level-1\',\'level-2\',\'beta\',\'