lib/pennyworth/inflector.rb in pennyworth-11.0.0 vs lib/pennyworth/inflector.rb in pennyworth-11.0.1
- old
+ new
@@ -7,10 +7,10 @@
def initialize overrides = DEFAULTS
@overrides = overrides
end
- def call(key) = overrides.fetch(key) { |missing_key| missing_key }
+ def call(key) = overrides.fetch(key) { |fallback| fallback }
private
attr_reader :overrides
end