Sha256: 5d9e3ebcdfbefde0022b79d0128279e3f0506ef5fc8d91c64fbcfbe51d2cd689
Contents?: true
Size: 455 Bytes
Versions: 22
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true require "zeitwerk" Zeitwerk::Loader.new.then do |loader| loader.inflector.inflect "ascii_doc" => "ASCIIDoc", "cli" => "CLI", "uri" => "URI" loader.tag = File.basename __FILE__, ".rb" loader.push_dir __dir__ loader.setup end # Main namespace. module Milestoner def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end end
Version data entries
22 entries across 22 versions & 1 rubygems