class ActionView::CollectionRenderer::SameCollectionIterator

:nodoc:

def each_with_info

def each_with_info
  return enum_for(:each_with_info) unless block_given?
  variables = [@path] + @variables
  @collection.each { |o| yield(o, variables) }
end

def from_collection(collection)

def from_collection(collection)
  self.class.new(collection, @path, @variables)
end

def initialize(collection, path, variables)

:nodoc:
def initialize(collection, path, variables)
  super(collection)
  @path      = path
  @variables = variables
end