private Method

JavaScriptProxy.assign(variable, value)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 1089
def assign(variable, value)
  append_to_function_chain!("#{variable} = #{@generator.send(:javascript_object_for, value)}")
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.