Class: Jbuilder::CollectionRenderer
- Inherits:
-
ActionView::CollectionRenderer
- Object
- ActionView::CollectionRenderer
- Jbuilder::CollectionRenderer
- Defined in:
- lib/jbuilder/collection_renderer.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(lookup_context, options, &scope) ⇒ CollectionRenderer
constructor
A new instance of CollectionRenderer.
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, , &scope) super(lookup_context, ) @scope = scope end |