Class: Pagy::Calendar::Week

Inherits:
Pagy::Calendar show all
Defined in:
lib/pagy/calendar/week.rb

Overview

Calendar week subclass

Constant Summary collapse

DEFAULT =

rubocop:disable Style/MutableConstant

{ order:  :asc,      # rubocop:disable Style/MutableConstant
format: '%Y-%W' }

Constants inherited from Pagy::Calendar

UNITS

Constants inherited from Pagy

ElasticsearchRails, LABEL_TOKEN, Meilisearch, PAGE_TOKEN, Searchkick, VERSION

Instance Attribute Summary

Attributes inherited from Pagy::Calendar

#from, #order, #to

Attributes inherited from Pagy

#count, #from, #in, #items, #last, #next, #offset, #page, #pages, #params, #prev, #request_path, #to, #vars

Method Summary

Methods inherited from Pagy::Calendar

create, #initialize, #label, #label_for

Methods included from I18nExtra::CalendarOverride

#localize

Methods included from OverflowExtra::PagyOverride

#initialize, #overflow?

Methods included from FrontendHelpers::CalendarOverride

#label_sequels

Methods inherited from Pagy

#initialize, #label, #label_for, root, #series

Methods included from SearchkickExtra::PagyExtension

#new_from_searchkick

Methods included from MeilisearchExtra::PagyExtension

#new_from_meilisearch

Methods included from ElasticsearchRailsExtra::PagyAddOn

#new_from_elasticsearch_rails

Methods included from GearboxExtra

#setup_items_var, #setup_offset_var, #setup_pages_var

Methods included from FrontendHelpers::PagyAddOn

#label_sequels, #sequels

Constructor Details

This class inherits a constructor from Pagy::Calendar