Sha256: 0a3b23901b5ad3c4accc3459dcaf886ab17f507ba545b9df4e30f1cc738edea6
Contents?: true
Size: 672 Bytes
Versions: 11
Compression:
Stored size: 672 Bytes
Contents
require "zeitwerk" module S3Secure class Autoloader class Inflector < Zeitwerk::Inflector def camelize(basename, _abspath) map = { cli: "CLI", force_ssl_only_access: "ForceSSLOnlyAccess", force_ssl_only_access_remove: "ForceSSLOnlyAccessRemove", 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__)}/s3-secure.rb") loader.setup end end end end
Version data entries
11 entries across 11 versions & 1 rubygems