Class: Forger::Autoloader::Inflector

Inherits:
Zeitwerk::Inflector
  • Object
show all
Defined in:
lib/forger/autoloader.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



6
7
8
9
# File 'lib/forger/autoloader.rb', line 6

def camelize(basename, _abspath)
  map = { cli: "CLI", version: "VERSION" }
  map[basename.to_sym] || super
end