Sha256: 65c5694d6e51d50e41b0e47c09c8c0a94f41d3aab523eb07bccf1dbd854985c9
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
require 'forwardable' module Plucky module Pagination module Decorator extend Forwardable def_delegators :@paginator, :total_entries, :total_pages, :current_page, :per_page, :previous_page, :next_page, :skip, :limit, :offset, :out_of_bounds? # Public def paginator(p=nil) return @paginator if p.nil? @paginator = p self end end end end
Version data entries
4 entries across 4 versions & 1 rubygems