# File lib/paginator.rb, line 33 def number_of_pages (@count / @per_page).to_i + (@count % @per_page > 0 ? 1 : 0) end