Class: ImportmapJets::Autoloader::Inflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



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

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