class ActionView::PartialIteration
def first?
def first? index == 0 end
def initialize(size)
def initialize(size) @size = size @index = 0 end
def iterate! # :nodoc:
def iterate! # :nodoc: @index += 1 end
def last?
def last? index == size - 1 end