- pages = %w{1 2 3 4 5 6 7}.collect{|t| "#{t}"} - b.paginator do |o| - o.prev "Prev" - o.pages [1, 2, 3, 4, 5, 6, 7] - o.to_link lambda{|t| "#{t}"} - o.current_page 3 - o.next "Next"