Flowdock
method

extracting_object

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActionView::Partials
extracting_object(partial_name, local_assigns, deprecated_local_assigns) private

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/partials.rb, line 101
      def extracting_object(partial_name, local_assigns, deprecated_local_assigns)
        if local_assigns.is_a?(Hash) || local_assigns.nil?
          controller.instance_variable_get("@#{partial_name}")
        else
          # deprecated form where object could be passed in as second parameter
          local_assigns
        end
      end
Register or log in to add new notes.