# File lib/facet/symbol/camelcase.rb, line 16 def camelcase(first=false, on='_\s') if first (to_s.gsub(/(^|[#{on}]+)([A-Za-z])/){ $2.upcase }).to_sym else (to_s.gsub(/([#{on}]+)([A-Za-z])/){ $2.upcase }).to_sym end end