1 2 3 4 5
class String def camelcase(delimiter = ' ') split(delimiter).map(&:capitalize).join(delimiter) end end