Sha256: 3b5c6b0d1863a91a994bcf28192ee8d4983da7d0770c8cbef213d6518a82f837
Contents?: true
Size: 251 Bytes
Versions: 5
Compression:
Stored size: 251 Bytes
Contents
- pages = %w{1 2 3 4 5 6 7}.collect{|t| "<a href='#'>#{t}</a>"} - b.paginator do |o| - o.prev "<a href='#'>Prev</a>" - o.pages [1, 2, 3, 4, 5, 6, 7] - o.to_link lambda{|t| "<a href='#'>#{t}</a>"} - o.current_page 3 - o.next "<a href='#'>Next</a>"
Version data entries
5 entries across 5 versions & 2 rubygems