def window
      base = @collection.offset
      high = base + @collection.per_page
      high = @collection.total_entries if high > @collection.total_entries

      # TODO: What's the best way to allow customization of this text, particularly "of"?
      tag(:span, " #{base + 1} - #{high} of #{@collection.total_entries} ",
          :class => WillPaginateRenderers.pagination_options[:gmail_window_class])
    end
def window
      base = @collection.offset
      high = base + @collection.per_page
      high = @collection.total_entries if high > @collection.total_entries

      # TODO: What's the best way to allow customization of this text, particularly "of"?
      tag(:span, " #{base + 1} - #{high} of #{@collection.total_entries} ",
          :class => WillPaginateRenderers.pagination_options[:gmail_window_class])
    end
Renders the "x - y of z" text