Class: Jets::Autoloaders::Gem::Inflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



48
49
50
51
52
53
54
55
# File 'lib/jets/autoloaders/gem.rb', line 48

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