module Rake::Funnel::Extensions module CamelCase def camelize self .to_s .split('_') .inject([]) { |buffer, e| buffer.push(buffer.empty? ? e : e.capitalize) } .join end end end class String include Rake::Funnel::Extensions::CamelCase end class Symbol include Rake::Funnel::Extensions::CamelCase end