Sha256: 12bce0691a53fe9a50a9190eedd8dc4691305c367d176cdd947eedf10fb5ec00
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true require "zeitwerk" Zeitwerk::Loader.new.then do |loader| loader.inflector.inflect "cli" => "CLI", "http_status" => "HTTPStatus", "http_statuses" => "HTTPStatuses", "htmx" => "HTMX" loader.tag = File.basename __FILE__, ".rb" loader.push_dir __dir__ loader.setup end # Main namespace. module Pennyworth def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end end
Version data entries
6 entries across 6 versions & 1 rubygems