Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.0.3) 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
Show source
def supports_local_assigns?(render_symbol, local_assigns)
local_assigns.empty? ||
((args = @@template_args[render_symbol]) && local_assigns.all? { |k,_| args.has_key?(k) })
end