Sha256: 388fef5a98411a54b059e7cfc9b67681bb2f38b28d5004cd4e5eef36c5ae756d
Contents?: true
Size: 503 Bytes
Versions: 16
Compression:
Stored size: 503 Bytes
Contents
require "zeitwerk" module TerraspacePluginAws class Autoloader class Inflector < Zeitwerk::Inflector def camelize(basename, _abspath) map = { cli: "CLI", ssm: "SSM", 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) loader.setup end end end end
Version data entries
16 entries across 16 versions & 1 rubygems