lib/puppet-strings/markdown/functions.rb in puppet-strings-2.5.0 vs lib/puppet-strings/markdown/functions.rb in puppet-strings-2.6.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require_relative 'function' module PuppetStrings::Markdown module Functions @@ -17,10 +19,10 @@ end def self.render final = in_functions.length > 0 ? "## Functions\n\n" : "" in_functions.each do |func| - final << func.render unless func.private? + final += func.render unless func.private? end final end def self.toc_info