Method: Colored#extra
- Defined in:
- lib/colored.rb
#extra(extra_name) ⇒ Object
65 66 67 68 69 |
# File 'lib/colored.rb', line 65 def extra(extra_name) return '' if String.colors_disabled extra_name = extra_name.to_s "\e[#{EXTRAS[extra_name]}m" if EXTRAS[extra_name] end |