Sha256: 82584a90d378f728a85f8a68ac4e882ec2e7d3d8ae416f93b9583e3701319e1f
Contents?: true
Size: 520 Bytes
Versions: 3
Compression:
Stored size: 520 Bytes
Contents
require "zeitwerk" module TerraspaceCiGitlab class Autoloader class Inflector < Zeitwerk::Inflector def camelize(basename, _abspath) map = { 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! if ENV["TERRASPACE_CI_GITLAB_AUTOLOAD_LOG"] loader.setup end end end end
Version data entries
3 entries across 3 versions & 1 rubygems