# File lib/ramaze/helper/paginate.rb, line 229 def each(&block) from = ((@page - 1) * @limit) to = from + @limit a = @array[from...to] || [] a.each(&block) end