Sha256: 9dd9d052a3d4e4237f8b71f9385c06451108a375b2ded92810004ee906aebdd3
Contents?: true
Size: 542 Bytes
Versions: 29
Compression:
Stored size: 542 Bytes
Contents
require "lono/bundle" Lono::Bundle.setup require "zeitwerk" module Lono class Autoloader class Inflector < Zeitwerk::Inflector def camelize(basename, _abspath) map = { cli: "CLI", version: "VERSION" } map[basename.to_sym] || super end end class << self def setup loader = Zeitwerk::Loader.new loader.inflector = Inflector.new loader.push_dir(File.dirname(__dir__)) # lib loader.log! if ENV["LONO_AUTOLOAD_LOG"] loader.setup end end end end
Version data entries
29 entries across 29 versions & 1 rubygems