method
literal
v1.2.6 -
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.


