Methods
Attributes
| [R] | index | The current iteration of the partial. |
| [R] | size | The number of iterations that will be done by the partial. |
Class Public methods
new(size) Link
Source: show
# File actionview/lib/action_view/renderer/collection_renderer.rb, line 13 def initialize(size) @size = size @index = 0 end