lib/act/user_interface.rb in act-0.0.4 vs lib/act/user_interface.rb in act-0.0.5
- old
+ new
@@ -7,9 +7,13 @@
end
def self.warn(message)
STDERR.puts message
end
+
+ def self.tty?
+ STDOUT.tty?
+ end
end
UI = UserInterface
end