Sha256: 3dd56889861acc64b7f37415e21ad8b3f9b17cde20266f7cc3fc504a7e6b139e
Contents?: true
Size: 200 Bytes
Versions: 14
Compression:
Stored size: 200 Bytes
Contents
module DeepCover module Tools::Camelize # Poor man's camelize. 'an_example' => 'AnExample' def camelize(string) string.to_s.gsub(/([a-z\d]*)[_?!]?/){ $1.capitalize } end end end
Version data entries
14 entries across 14 versions & 1 rubygems