Class: Pagy::Calendar::Month

Inherits:
Unit
  • Object
show all
Defined in:
lib/pagy/classes/calendar/month.rb

Constant Summary collapse

DEFAULT =
{ slots:  12,
compact: true,
order:   :asc,
format:  '%b' }.freeze

Constants inherited from Pagy

A_TAG, DEFAULT_DATA_KEYS, DEFAULT_HEADERS_MAP, LABEL_TOKEN, LIMIT_TOKEN, Method, PAGE_TOKEN, ROOT, SERIES_SLOTS, VERSION

Instance Attribute Summary

Attributes inherited from Unit

#from, #last, #order, #previous, #to

Attributes inherited from Pagy

#in, #limit, #next, #options, #page

Method Summary

Methods inherited from Unit

#initialize

Methods included from Rangeable

#in_range?

Methods inherited from Pagy

#data_hash, #headers_hash, #info_tag, #input_nav_js, #limit_tag_js, #next_tag, options, #page_url, #previous_tag, #series_nav, #series_nav_js, #urls_hash

Methods included from Pagy::Configurable

#dev_tools, #sync_javascript, #translate_with_the_slower_i18n_gem!

Constructor Details

This class inherits a constructor from Pagy::Calendar::Unit