Method: Hanami::Config#inflector
- Defined in:
- lib/hanami/config.rb
permalink #inflector ⇒ Dry::Inflector
Sets the app’s inflector.
This expects a ‘Dry::Inflector` (or compatible) inflector instance.
To configure custom inflection rules without having to assign a whole inflector, see #inflections.
45 |
# File 'lib/hanami/config.rb', line 45 setting :inflector, default: Dry::Inflector.new |