Module: BackRack::Helpers::String

Included in:
String
Defined in:
lib/backrack.rb

Instance Method Summary collapse

Instance Method Details

#camelizeObject



23
24
25
# File 'lib/backrack.rb', line 23

def camelize
  self.split(/[_\/]/).map(&:capitalize).join
end