Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.1.0) is shown here.
supports_local_assigns?(render_symbol, local_assigns)
private
Return true if the given template was compiled for a superset of the keys
in local_assigns
# File actionpack/lib/action_view/template_handlers/compilable.rb, line 113
def supports_local_assigns?(render_symbol, local_assigns)
local_assigns.empty? ||
((args = self.template_args[render_symbol]) && local_assigns.all? { |k,_| args.has_key?(k) })
end