--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns an object whose <tt>to_json</tt> evaluates to <tt>code</tt>. Use this to pass a literal JavaScript expression as an argument to another JavaScriptGenerator method.
full_name: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods#literal
is_singleton: false
name: literal
params: (code)
visibility: public
