Module: Rails::Autoloaders::Inflector
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | railties/lib/rails/autoloaders/inflector.rb |
Class Method Summary
Class Method Details
.camelize(basename, _abspath)
[ GitHub ]# File 'railties/lib/rails/autoloaders/inflector.rb', line 12
def self.camelize(basename, _abspath) @overrides[basename] || basename.camelize end
.inflect(overrides)
[ GitHub ]# File 'railties/lib/rails/autoloaders/inflector.rb', line 16
def self.inflect(overrides) @overrides.merge!(overrides) end