1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

remove obsolete case conversion methods

This commit is contained in:
Charles Lowell 2010-08-10 14:09:13 -05:00
parent 3324dfb9eb
commit a262281ff4

View file

@ -69,14 +69,6 @@ module V8
yield.new(value)
end
end
def camel_case(str)
str.to_s.gsub(/_(\w)/) {$1.upcase}
end
def perl_case(str)
str.gsub(/([A-Z])([a-z])/) {"_#{$1.downcase}#{$2}"}.downcase
end
end
end
end