Class: AnsiColor::Effects
- Inherits:
-
Array
- Object
- Array
- AnsiColor::Effects
- Defined in:
- lib/ansi_color/effects.rb
Instance Method Summary collapse
-
#initialize(array) ⇒ Effects
constructor
A new instance of Effects.
- #to_codes! ⇒ Object
Constructor Details
Instance Method Details
#to_codes! ⇒ Object
8 9 10 |
# File 'lib/ansi_color/effects.rb', line 8 def to_codes! self.map! { |code| EFFECTS[code] }.join(';') end |