lib/pennyworth/inflector.rb in pennyworth-16.7.0 vs lib/pennyworth/inflector.rb in pennyworth-17.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(Container[:configuration].inflections).reduce({}, :merge) + DEFAULTS = Array(Container[:settings].inflections).reduce({}, :merge) def initialize overrides = DEFAULTS @overrides = overrides end