Sha256: 8396fdbf9eaf3a0adbf00f58fe75a96cb127392fb734faa2c69e91b7ef6bc51a
Contents?: true
Size: 518 Bytes
Versions: 10
Compression:
Stored size: 518 Bytes
Contents
require "zeitwerk" module AwsLogs 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.ignore("#{File.dirname(__dir__)}/aws-logs.rb") loader.setup end end end end
Version data entries
10 entries across 10 versions & 1 rubygems