# File lib/sinatra/rabbit.rb, line 257 def titlecase gsub(/\b\w/){ $`[-1,1] == "'" ? $& : $&.upcase } end