Method: Confgit::WithColor#set_color
- Defined in:
- lib/confgit/with_color.rb
#set_color(*colors) ⇒ Object
エスケープシーケンスをセットする
37 38 39 40 41 |
# File 'lib/confgit/with_color.rb', line 37 def set_color(*colors) colors.each { |color| print "\e[", ESC_CODES[color], "m" } end |