lib/cl/ui.rb in cl-0.1.28 vs lib/cl/ui.rb in cl-1.0.0

- old
+ new

@@ -3,11 +3,11 @@ class Cl module Ui def self.new(ctx, opts) const = Test if ctx.test? const ||= Silent if opts[:silent] - const ||= Tty if $stdout.tty? - const ||= Pipe + const ||= Tty # if $stdout.tty? + # const ||= Pipe const.new(opts) end class Base < Struct.new(:opts) attr_writer :stdout