Class: Kingsman::Autoloader::Inflector
- Inherits:
-
Zeitwerk::Inflector
- Object
- Zeitwerk::Inflector
- Kingsman::Autoloader::Inflector
- Defined in:
- lib/kingsman/autoloader.rb
Instance Method Summary collapse
Instance Method Details
#camelize(basename, _abspath) ⇒ Object
6 7 8 9 |
# File 'lib/kingsman/autoloader.rb', line 6 def camelize(basename, _abspath) map = { cli: "CLI", version: "VERSION", omniauth: "OmniAuth" } map[basename.to_sym] || super end |