Class: ActionView::AbstractRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/action_view/renderer/abstract_renderer.rb

Overview

:nodoc:

Direct Known Subclasses

PartialRenderer, TemplateRenderer

Instance Method Summary collapse

Constructor Details

#initialize(lookup_context) ⇒ AbstractRenderer

Returns a new instance of AbstractRenderer.



6
7
8
# File 'lib/action_view/renderer/abstract_renderer.rb', line 6

def initialize(lookup_context)
  @lookup_context = lookup_context
end

Instance Method Details

#renderObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/action_view/renderer/abstract_renderer.rb', line 10

def render
  raise NotImplementedError
end