module SimplePaginate::Helpers::Link

Public Instance Methods

page() click to toggle source
# File lib/simple_paginate/helpers/tags.rb, line 47
def page
  raise 'Override page with the actual page value to be a Page.'
end
to_s(locals = {}) click to toggle source
Calls superclass method
# File lib/simple_paginate/helpers/tags.rb, line 55
def to_s(locals = {})
  super locals.merge(url: url)
end
url() click to toggle source
# File lib/simple_paginate/helpers/tags.rb, line 51
def url
  page_url_for(page)
end