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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Yields a JavaScriptGenerator and returns the generated JavaScript code. Use this to update multiple elements on a page in an Ajax response. See JavaScriptGenerator for more information.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  update_page do |page|\n    page.hide 'spinner'\n  end\n"
full_name: ActionView::Helpers::PrototypeHelper#update_page
is_singleton: false
name: update_page
params: (&block)
visibility: public
