method
prepare!
v2.1.0 -
Show latest stable
- Class:
ActionView::Template
prepare!()public
No documentation available.
# File actionpack/lib/action_view/template.rb, line 50
def prepare!
@view.send :evaluate_assigns
@view.current_render_extension = @extension
if @handler.compilable?
@handler.compile_template(self) # compile the given template, if necessary
@method = @view.method_names[method_key] # Set the method name for this template and run it
end
end