= private = protected
assign(variable, value)
Assigns the JavaScript variable the given value.
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 589 def assign(variable, value) record "#{variable} = #{javascript_object_for(value)}" end