Sha256: 5115e4fb21674d8dd2e8d0cd81cd1d92f075725bd66026319adb4b429fbad9bc
Contents?: true
Size: 477 Bytes
Versions: 23
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require "rubysmith" require "zeitwerk" Zeitwerk::Loader.new.then do |loader| loader.inflector.inflect "cli" => "CLI", "circle_ci" => "CircleCI", "rspec" => "RSpec" loader.tag = File.basename __FILE__, ".rb" loader.push_dir __dir__ loader.setup end # Main namespace. module Gemsmith def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end end
Version data entries
23 entries across 23 versions & 1 rubygems