method
assign
assign(variable, value)
private
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1135 def assign(variable, value) append_to_function_chain!("#{variable} = #{@generator.send(:javascript_object_for, value)}") end