Return to Snippet

Revision: 8033
at August 28, 2008 01:39 by sunfjun


Initial Code
str = "how are you? are you feeling good?"
puts str.split(/\s+/).each{ |word| word.capitalize! }.join(' ')


Initial URL

                                

Initial Description

                                

Initial Title
ruby spring proper case

Initial Tags
ruby

Initial Language
Ruby