Class: Jets::Gems::Autoloader::Inflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



8
9
10
11
# File 'lib/jets/gems/autoloader.rb', line 8

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