lib/nanoc/cli/cleaning_stream.rb in nanoc-4.3.8 vs lib/nanoc/cli/cleaning_stream.rb in nanoc-4.4.0

- old
+ new

@@ -136,12 +136,14 @@ def external_encoding @stream.external_encoding end # @see ARGF.set_encoding + # rubocop:disable Style/AccessorMethodName def set_encoding(*args) @stream.set_encoding(*args) end + # rubocop:enable Style/AccessorMethodName protected def _nanoc_clean(s) @stream_cleaners.reduce(s.to_s) { |acc, elem| elem.clean(acc) }