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