def camel_case(input)
      input.to_s.split(/_/).map { |i|
        i.sub(/^./) { |s| s.upcase }
      }.join
    end
def camel_case(input)
      input.to_s.split(/_/).map { |i|
        i.sub(/^./) { |s| s.upcase }
      }.join
    end
def camel_case ( input ) input . to_s . split ( / / ) . map { | i | i . sub ( / / ) { | s | s . upcase } } . join end
Change a ruby_cased string to CamelCased
Change a ruby_cased string to CamelCased