Navigation Menu

Skip to content

Commit

Permalink
Describe why UI class uses STDERR.
Browse files Browse the repository at this point in the history
  • Loading branch information
netzpirat committed Oct 10, 2011
1 parent 6f1a0ac commit 5c0105b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/guard/ui.rb
@@ -1,6 +1,11 @@
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
class << self
Expand Down

0 comments on commit 5c0105b

Please sign in to comment.