method
titleize
v1.1.6 -
Show latest stable
- Class:
Inflector
titleize(word)public
No documentation available.
# File activesupport/lib/active_support/inflector.rb, line 120
def titleize(word)
humanize(underscore(word)).gsub(/\b([a-z])/) { $1.capitalize }
end