Sha256: 9c6d25f252a75ac024635fc0c0cdcf3a5b35915a7cee93330df5d2c9171ed05e
Contents?: true
Size: 380 Bytes
Versions: 12
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true require "xdg" require "zeitwerk" Zeitwerk::Loader.new.then do |loader| loader.tag = File.basename __FILE__, ".rb" loader.push_dir __dir__ loader.setup end # Main namespace. module Runcom def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end end
Version data entries
12 entries across 12 versions & 1 rubygems