Class: Socksify::Color
- Inherits:
-
Object
- Object
- Socksify::Color
- Defined in:
- lib/socksify/debug.rb
Defined Under Namespace
Classes: Green, Red, Reset, Yellow
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.to_s ⇒ Object
19 20 21 |
# File 'lib/socksify/debug.rb', line 19 def self::to_s new.to_s end |
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/socksify/debug.rb', line 23 def to_s "\e[1m\e[#{num}m" end |