Class: Jets::Rails::Autoloader::Inflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



7
8
9
10
# File 'lib/jets/rails/autoloader.rb', line 7

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