Class: Jets::Autoloaders::OnceInflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/jets/autoloaders.rb', line 10

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