class String
Public Instance Methods
my_titleize()
click to toggle source
# File lib/toccatore/base.rb, line 281 def my_titleize self.gsub(/(\b|_)(.)/) { "#{$1}#{$2.upcase}" } end
# File lib/toccatore/base.rb, line 281 def my_titleize self.gsub(/(\b|_)(.)/) { "#{$1}#{$2.upcase}" } end