class FPM::Fry::UI

Public Class Methods

new( out: STDOUT, err: STDERR, logger: nil , tmpdir: '/tmp/fpm-fry' ) click to toggle source
Calls superclass method
# File lib/fpm/fry/ui.rb, line 6
def initialize( out: STDOUT, err: STDERR, logger: nil , tmpdir: '/tmp/fpm-fry' )
  logger ||= Channel.new.tap{|chan| chan.subscribe(Cabin::NiceOutput.new(out)) }
  FileUtils.mkdir_p( tmpdir )
  super( out, err, logger, tmpdir )
end