Class: Beacon::Autoloader::Inflector

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

Constant Summary collapse

INFLECTIONS_MAP =
{
  version: 'VERSION'
}.freeze

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



12
13
14
# File 'lib/beacon/autoloader.rb', line 12

def camelize(basename, _abspath)
  INFLECTIONS_MAP[basename.to_sym] || super
end