class ActionView::CollectionRenderer::CollectionIterator
:nodoc:
def each(&blk)
def each(&blk) @collection.each(&blk) end
def initialize(collection)
def initialize(collection) @collection = collection end
def length
def length @collection.respond_to?(:length) ? @collection.length : size end
def preload!
def preload! # no-op end
def size
def size @collection.size end