Describe why UI class uses STDERR.

This commit is contained in:
Michael Kessler 2011-10-10 08:29:43 +02:00
parent 6f1a0acb2e
commit 5c0105b2c1

View File

@ -1,6 +1,11 @@
module Guard module Guard
# The UI class helps to format messages for the user. # The UI class helps to format messages for the user. Everything that is logged
# through this class is considered either as an error message or a diagnostic
# message and is written to standard error (STDERR).
#
# If your Guard does some output that is piped into another process for further
# processing, please just write it to STDOUT with `puts`.
# #
module UI module UI
class << self class << self