lib/v8/to.rb in therubyracer-0.4.2 vs lib/v8/to.rb in therubyracer-0.4.3

- old
+ new

@@ -18,8 +18,12 @@ when Method then C::FunctionTemplate.new(&value.to_proc).GetFunction() else value end end + + def camelcase(str) + str.to_s.gsub(/_(\w)/) {$1.upcase} + end end end end \ No newline at end of file