Shopify / constant_resolver

Resolve a partially qualified Ruby constant reference to the fully qualified name and the path of the file defining it.
MIT License
26 stars 10 forks source link

Support the use of a custom inflector #6

Closed thegedge closed 4 years ago

thegedge commented 4 years ago

This PR introduces an injectable inflector for ConstantResolver. This allows customizing the inflector with whatever custom inflections an application may have (for example, a customized ActiveSupport::Inflector)