class Dry::Inflector
def initialize(&)
- Example: Custom inflection rules -
Example: Basic usage -
Other tags:
- Since: - 0.1.0
Returns:
-
(Dry::Inflector)
- the inflector
Other tags:
- Yieldparam: the - inflection rules
Parameters:
-
blk
(Proc
) -- an optional block to specify custom inflection rules
def initialize(&) @inflections = Inflections.build(&) end