Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/ecloud/generate_collection.rb

Instance Method Summary collapse

Instance Method Details

#camelizeObject



4
5
6
# File 'lib/fog/ecloud/generate_collection.rb', line 4

def camelize
  self.split('_').map {|w| w.capitalize}.join
end