Sha256: fa8ada0caf7a02e9a4e9b6b500d4f0b703df73905a507e0c720495aa6067b807
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
require "zeitwerk" module HerokuConfig 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__)}/heroku-config.rb") loader.setup end end end end
Version data entries
4 entries across 4 versions & 1 rubygems