lib/ruumba/analyzer.rb
# The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby .
def munge_output(stdout, stderr, replacements)
      [[STDOUT, stdout], [STDERR, stderr]].each do |output_stream, output|
        next if output.nil? || output.empty?
        replacements.each do |pattern, replacement|
          output.gsub!(pattern, replacement)
        end
        output_stream.puts(output)
      end
    end
def munge_output ( stdout , stderr , replacements ) [ [ STDOUT , stdout ] , [ STDERR , stderr ] ] . each do | output_stream , output | next if output . nil? || output . empty? replacements . each do | pattern , replacement | output . gsub! ( pattern , replacement ) end output_stream . puts ( output ) end end
The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby .
stdout
<not_specific>
stderr
<not_specific>
replacements
<not_specific>