Module: Dry::Inflector::Inflections::Defaults Private
- Defined in:
- lib/dry/inflector/inflections/defaults.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Default inflections
rubocop:disable Metrics/AbcSize
Class Method Summary collapse
- .call(inflect) ⇒ Object private
Class Method Details
.call(inflect) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 18 19 20 21 |
# File 'lib/dry/inflector/inflections/defaults.rb', line 15 def self.call(inflect) plural(inflect) singular(inflect) irregular(inflect) uncountable(inflect) acronyms(inflect) end |