Class: WSDirector::Printer
- Inherits:
-
Object
- Object
- WSDirector::Printer
- Defined in:
- lib/wsdirector/printer.rb
Overview
Print messages (optionally colorized) to STDOUT
Class Method Summary collapse
Class Method Details
.out(message, color = nil) ⇒ Object
6 7 8 9 |
# File 'lib/wsdirector/printer.rb', line 6 def self.out(, color = nil) = .colorize(color) if WSDirector.config.colorize? && color $stdout.puts() end |