Class: Armrest::Autoloader::Inflector
- Inherits:
-
Zeitwerk::Inflector
- Object
- Zeitwerk::Inflector
- Armrest::Autoloader::Inflector
- Defined in:
- lib/armrest/autoloader.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.camelize_map ⇒ Object
11 12 13 |
# File 'lib/armrest/autoloader.rb', line 11 def self.camelize_map { cli: "CLI", msi: "MSI", version: "VERSION" } end |
Instance Method Details
#camelize(basename, _abspath) ⇒ Object
6 7 8 9 |
# File 'lib/armrest/autoloader.rb', line 6 def camelize(basename, _abspath) map = self.class.camelize_map map[basename.to_sym] || super end |