lib/react.rb in react-rails-2.7.1 vs lib/react.rb in react-rails-3.0.0.rc.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module React
# Recursively camelize `props`, returning a new Hash
# @param props [Object] If it's a Hash or Array, it will be recursed. Otherwise it will be returned.
# @return [Hash] a new hash whose keys are camelized strings
def self.camelize_props(props)