Sha256: b9971ebef36e5affdca919d464634b1e82175309e3aa9f06d8900c471a3942be
Contents?: true
Size: 461 Bytes
Versions: 28
Compression:
Stored size: 461 Bytes
Contents
module Rake module Funnel module Extensions module Case module CamelCase def camelize to_s .split('_') .inject([]) { |buffer, e| buffer.push(buffer.empty? ? e : e.capitalize) } .join end end end end end end class String include Rake::Funnel::Extensions::Case::CamelCase end class Symbol include Rake::Funnel::Extensions::Case::CamelCase end
Version data entries
28 entries across 28 versions & 1 rubygems