Class: Terraspace::Autoloader::Inflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



17
18
19
20
# File 'lib/terraspace/autoloader.rb', line 17

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