Class: Jbuilder::CollectionRenderer

Inherits:
ActionView::CollectionRenderer
  • Object
show all
Defined in:
lib/jbuilder/collection_renderer.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(lookup_context, options, &scope) ⇒ CollectionRenderer

Returns a new instance of CollectionRenderer.



28
29
30
31
# File 'lib/jbuilder/collection_renderer.rb', line 28

def initialize(lookup_context, options, &scope)
  super(lookup_context, options)
  @scope = scope
end