Sha256: 90d12d311c2b87f59cb20174fe38f6fc098bc94712fd522476c25c7c74442c89
Contents?: true
Size: 540 Bytes
Versions: 10
Compression:
Stored size: 540 Bytes
Contents
require "zeitwerk" module Jets::Gems 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 lib = File.expand_path('../..', __dir__) loader.push_dir(lib) # lib loader.ignore("#{lib}/serverlessgems.rb") loader.setup end end end end
Version data entries
10 entries across 10 versions & 1 rubygems