module ActionView::Rendering

def view_context

Override this method in a module to change the default behavior.

* View#render(option) — Returns String with the rendered template.

ActionView instance for a controller and we can also pass the arguments.
* View.new(lookup_context, assigns, controller) — Create a new

The view class must have the following methods:

An instance of a view class. The default view class is ActionView::Base.
def view_context
  view_context_class.new(lookup_context, view_assigns, self)
end