private Method

GeneratorMethods.render(*options_for_render)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 952
def render(*options_for_render)
  old_format = @context && @context.template_format
  @context.template_format = :html if @context
  Hash === options_for_render.first ? 
    @context.render(*options_for_render) : 
      options_for_render.first.to_s
ensure
  @context.template_format = old_format if @context
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.