method

_assigns

rails latest stable - Class: ActionView::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

_assigns()
private

No documentation available.

# File actionpack/lib/action_view/test_case.rb, line 147
      def _assigns
        _instance_variables.inject({}) do |hash, var|
          name = var[1..-1].to_sym
          hash[name] = instance_variable_get(var)
          hash
        end
      end