Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/dmm/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#camelizeObject



2
3
4
# File 'lib/dmm/core_ext/string.rb', line 2

def camelize
  split(nil).map!(&:capitalize).join
end