Flowdock
method

literal

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods
literal(code) public

Returns an object whose to_json evaluates to code. Use this to pass a literal JavaScript expression as an argument to another JavaScriptGenerator method.

Show source
Register or log in to add new notes.