class Pagy

def self.root; @root ||= Pathname.new(__FILE__).dirname.freeze end

Root pathname to get the path of Pagy files like templates or dictionaries
def self.root; @root ||= Pathname.new(__FILE__).dirname.freeze end