Flowdock
method

locals_code

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActionView::Template
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 actionpack/lib/action_view/template.rb, line 326
      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.