Update 20-num-repeats.rb

The method parameter is a string not array as shown by the tests / description... just to make it a bit clearer.