Sha256: 2eaf9ec90c1004a98ee037c3ac1e2b8f818aaac7a8b56778390682165b77e037

Contents?: true

Size: 447 Bytes

Versions: 14

Compression:

Stored size: 447 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.ignore "#{__dir__}/tocer/rake"
  loader.push_dir __dir__
  loader.setup
end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tocer-18.7.0 lib/tocer.rb
tocer-18.6.0 lib/tocer.rb
tocer-18.5.0 lib/tocer.rb
tocer-18.4.0 lib/tocer.rb
tocer-18.3.0 lib/tocer.rb
tocer-18.2.0 lib/tocer.rb
tocer-18.1.0 lib/tocer.rb
tocer-18.0.0 lib/tocer.rb
tocer-17.5.0 lib/tocer.rb
tocer-17.3.0 lib/tocer.rb
tocer-17.2.0 lib/tocer.rb
tocer-17.1.0 lib/tocer.rb
tocer-17.0.0 lib/tocer.rb
tocer-16.2.1 lib/tocer.rb