lib/will_paginate/view_helpers/link_renderer.rb
# Process it! This method returns the complete HTML string which contains
# pagination links. Feel free to subclass LinkRenderer and change this
# method as you see fit.
Process it. This method returns the complete HTML string which contains
pagination links. Feel free to subclass LinkRenderer and change this
method as you see fit.
Process it . This method returns the complete HTML string which contains pagination links . Feel free to subclass LinkRenderer and change this method as you see fit .
def to_html
        html = pagination.map do |item|
          item.is_a?(Integer) ?
            page_number(item) :
            send(item)
        end.join(@options[:link_separator])
        @options[:container] ? html_container(html) : html
      end
def to_html html = pagination . map do | item | item . is_a? ( Integer ) ? page_number ( item ) : send ( item ) end . join ( @options [ :link_separator ] ) @options [ :container ] ? html_container ( html ) : html end
Process it!
Process it!