lib/pennyworth/inflector.rb in pennyworth-11.2.2 vs lib/pennyworth/inflector.rb in pennyworth-12.0.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Pennyworth
# Overrides any string to desired form if matched, otherwise answers the original string.
class Inflector
- DEFAULTS = Array(CLI::Configuration::Loader.call.inflections).reduce({}, :merge)
+ DEFAULTS = Array(Configuration::Loader.call.inflections).reduce({}, :merge)
def initialize overrides = DEFAULTS
@overrides = overrides
end