ruby string proper case
1 test = "hello man! how are you?" 2 puts test.split(/\s+/).each{ |word| word.capitalize! }.join(' ')
1 test = "hello man! how are you?" 2 puts test.split(/\s+/).each{ |word| word.capitalize! }.join(' ')