This is a pretty long method. It could be done more simply like: 
  def repeat(stuff, n = 2)
    ((stuff + ' ') \* n).chop
  end 
Also, be careful using the \* on arguments- it means all arguments that come in as \*times will be in the form of an array, so you'll have to handle them as such.