Class: NginxTop::Printer
- Inherits:
-
Object
- Object
- NginxTop::Printer
- Defined in:
- lib/nginxtop/printer.rb
Constant Summary collapse
- COLORS =
{ red: "\e[31m", yellow: "\e[33m", blue: "\e[34m", green: "\e[32m", white: "\e[97m", bold: "\e[1m", dim: "\e[2m", gray: "\e[90m", cyan: "\e[36m", light_green: "\e[92m", light_gray: "\e[37m" }
Class Method Summary collapse
Class Method Details
.stream ⇒ Object
18 19 20 |
# File 'lib/nginxtop/printer.rb', line 18 def stream sprintf "\033c" end |