Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 547 Bytes
This filter changes all words to Title Caps, and attempts to be clever
about *un*capitalising small words like a/an/the in the input.
The list of "small words" which are not capped comes from
the New York Times Manual of Style, plus 'vs' and 'v'.
Sam Aaron
21st of May, 2008
This is a Ruby port of the original Perl script written by John Gruber
Gemify it and extend String with some title_case goodness
Something went wrong with that request. Please try again.