Module: DmPagination::Paginatable

Defined in:
lib/dm-pagination/paginatable.rb

Instance Method Summary collapse

Instance Method Details

#paginate(options = {}) ⇒ Object



5
6
7
# File 'lib/dm-pagination/paginatable.rb', line 5

def paginate(options = {})
  Pagination.new(all, options)
end