Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/xing/activity.rb

Instance Method Summary collapse

Instance Method Details

#camelizeObject



35
36
37
# File 'lib/xing/activity.rb', line 35

def camelize
  self.split(/[^a-z0-9]/i).map{|w| w.capitalize}.join
end