lib/pagy.rb in pagy-5.6.4 vs lib/pagy.rb in pagy-5.6.5

- old
+ new

@@ -3,11 +3,11 @@ require 'pathname' # Core class class Pagy - VERSION = '5.6.4' + VERSION = '5.6.5' # Root pathname to get the path of Pagy files like templates or dictionaries def self.root @root ||= Pathname.new(__dir__).freeze end @@ -74,9 +74,10 @@ # Allow the customization of the output (overridden by the calendar extra) def label_for(page) page.to_s end + # Allow the customization of the output (overridden by the calendar extra) def label @page.to_s end protected