Class: String

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

Instance Method Summary collapse

Instance Method Details

#to_camel_caseObject



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

def to_camel_case
		self.gsub(/_(.)/) { $1.upcase }
end