module Popro::Formatter::Concat

Public Class Methods

new(*formatters, separator: '') click to toggle source

Factory for calling Aggregate with a join block

# File lib/popro/formatter.rb, line 39
def self.new(*formatters, separator: '')
  Aggregate.new(*formatters) do |results|
    results.join separator
  end
end