# File lib/treetop/ruby_extensions/string.rb, line 39 def treetop_camelize to_s.gsub(/\/(.?)/){ "::" + $1.upcase }.gsub(/(^|_)(.)/){ $2.upcase } end