Class: String
Overview
Time
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#title_case ⇒ Object
166 167 168 169 170 |
# File 'lib/rfm/utilities/core_ext.rb', line 166 def title_case self.gsub(/\w+/) do |word| word.capitalize end end |