Module: ActiveSupport::Dependencies::ZeitwerkIntegration::Inflector

Defined in:
lib/active_support/dependencies/zeitwerk_integration.rb

Class Method Summary collapse

Class Method Details

.camelize(basename, _abspath) ⇒ Object



61
62
63
# File 'lib/active_support/dependencies/zeitwerk_integration.rb', line 61

def self.camelize(basename, _abspath)
  @overrides[basename] || basename.camelize
end

.inflect(overrides) ⇒ Object



65
66
67
# File 'lib/active_support/dependencies/zeitwerk_integration.rb', line 65

def self.inflect(overrides)
  @overrides.merge!(overrides)
end