Sha256: 0c61fb8b5a8be189114c613ae2549e66f20eb8f935b622b734519e1f67415969
Contents?: true
Size: 496 Bytes
Versions: 31
Compression:
Stored size: 496 Bytes
Contents
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! # uncomment to debug loader.setup end end end end
Version data entries
31 entries across 31 versions & 1 rubygems