Module: PoolParty::Output

Defined in:
lib/poolparty/modules/output.rb

Instance Method Summary collapse

Instance Method Details

#output(*args) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/poolparty/modules/output.rb', line 4

def output(*args)
  returning (@output ||= []) do |output|
    args.each do |line|
      (output ||= []) << line
    end
  end        
end