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 size
def size @collection.size end