# File lib/will_paginate/page_number.rb, line 33 def to_offset(per_page) PageNumber.new((to_i - 1) * per_page.to_i, 'offset') end