dont patch over existing string method

This commit is contained in:
Torsten Ruger
2018-04-16 21:24:27 +03:00
parent d19bd5f98d
commit 7c33f19bee
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
class String
def camelize
def camelise
self.split("_").collect{|str| str.capitalize_first }.join
end
def capitalize_first