Method: Hanami::Config#inflections
- Defined in:
- lib/hanami/config.rb
permalink #inflections(&block) ⇒ Dry::Inflector
Configures the app’s custom inflections.
You should call this one time only. Subsequent calls will override previously configured inflections.
396 397 398 |
# File 'lib/hanami/config.rb', line 396 def inflections(&block) self.inflector = Dry::Inflector.new(&block) end |