Sha256: dc2294adbc7f8115a5f7edef2487f38a2457b7297e0a10defdf79eba9f237703

Contents?: true

Size: 411 Bytes

Versions: 16

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

require "zeitwerk"

Zeitwerk::Loader.new.then do |loader|
  loader.inflector.inflect "cli" => "CLI"
  loader.tag = File.basename __FILE__, ".rb"
  loader.push_dir __dir__
  loader.setup
end

# Main namespace.
module Pragmater
  def self.loader registry = Zeitwerk::Registry
    @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
pragmater-15.7.0 lib/pragmater.rb
pragmater-15.6.0 lib/pragmater.rb
pragmater-15.5.0 lib/pragmater.rb
pragmater-15.4.0 lib/pragmater.rb
pragmater-15.3.0 lib/pragmater.rb
pragmater-15.2.0 lib/pragmater.rb
pragmater-15.1.0 lib/pragmater.rb
pragmater-15.0.0 lib/pragmater.rb
pragmater-14.6.0 lib/pragmater.rb
pragmater-14.4.0 lib/pragmater.rb
pragmater-14.3.0 lib/pragmater.rb
pragmater-14.2.0 lib/pragmater.rb
pragmater-14.1.1 lib/pragmater.rb
pragmater-14.1.0 lib/pragmater.rb
pragmater-14.0.0 lib/pragmater.rb
pragmater-13.2.1 lib/pragmater.rb