method
assign
v3.0.0 -
Show latest stable
- Class:
ActionView::Helpers::JavaScriptProxy
assign(variable, value)private
No documentation available.
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 674
def assign(variable, value)
append_to_function_chain!("#{variable} = #{@generator.send(:javascript_object_for, value)}")
end