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

Version Path
milestoner-18.11.0 lib/milestoner.rb
milestoner-18.10.0 lib/milestoner.rb
milestoner-18.9.0 lib/milestoner.rb
milestoner-18.8.0 lib/milestoner.rb
milestoner-18.7.0 lib/milestoner.rb
milestoner-18.6.0 lib/milestoner.rb
milestoner-18.5.0 lib/milestoner.rb
milestoner-18.4.0 lib/milestoner.rb
milestoner-18.3.0 lib/milestoner.rb
milestoner-18.2.0 lib/milestoner.rb
milestoner-18.1.0 lib/milestoner.rb
milestoner-18.0.1 lib/milestoner.rb
milestoner-18.0.0 lib/milestoner.rb
milestoner-17.11.0 lib/milestoner.rb
milestoner-17.10.0 lib/milestoner.rb
milestoner-17.9.0 lib/milestoner.rb
milestoner-17.6.0 lib/milestoner.rb
milestoner-17.5.0 lib/milestoner.rb
milestoner-17.4.0 lib/milestoner.rb
milestoner-17.3.0 lib/milestoner.rb