locals_code() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template.rb, line 324
      def locals_code #:nodoc:
        # Double assign to suppress the dreaded 'assigned but unused variable' warning
        @locals.map { |key| "#{key} = #{key} = local_assigns[:#{key}];" }.join
      end
Register or log in to add new notes.