Steven Ketcham <stedak / charter.net> wrote:
> 
> Is there a ruby way to enforce specific capitalization style?
> 
> i.e. 
> change "JOHN DOE" to "John Doe"

I've put a version of capitalize that takes punctuation into account up
at http://www.rubygarden.org/ruby?StringCapitalize . You might also find
the following interesting: http://zem.novylen.net/ruby/titlecase.rb -
titlecase should cover proper names in most cases (no pun intended).

martin