lib/ttt.rb
def add_space(value)
    if value.to_i <= 9 || value.to_s == "X" || value.to_s == "O"
      print " "
    end
  end
#Add space to the element depending on the number, if the number is one digit it will add a space
Add space to the element depending on the number, if the number is one digit it will add a space
Add space to the element depending on the number if the number is one digit it will add a space
def add_space(value)
    if value.to_i <= 9 || value.to_s == "X" || value.to_s == "O"
      print " "
    end
  end
def add_space ( value ) if value . to_i <= 9 || value . to_s == "X" || value . to_s == "O" print " " end end
Add space to the element depending on the number, if the number is one digit it will add a space
Add space to the element depending on the number if the number is one digit it will add a space
value