Namespace
Methods
Included Modules
Attributes
[R] | rendered_format |
Class Public methods
new() Link
Instance Public methods
render_to_body(options = {}) Link
view_context() Link
An instance of a view class. The default view class is ActionView::Base
.
The view class must have the following methods:
-
View.new(lookup_context, assigns, controller)
— Create a newActionView
instance for a controller and we can also pass the arguments. -
View#render(option)
— ReturnsString
with the rendered template.
Override this method in a module to change the default behavior.