Class: Cucumber::Formatter::ColorIO
- Extended by:
- Forwardable
- Defined in:
- lib/cucumber/formatter/color_io.rb
Overview
Adapter to make #puts/#print/#flush work with colours on Windows
Instance Method Summary collapse
-
#<<(output) ⇒ Object
Ensure using << still gets colours in win32console.
-
#initialize ⇒ ColorIO
constructor
A new instance of ColorIO.
Constructor Details
Instance Method Details
#<<(output) ⇒ Object
Ensure using << still gets colours in win32console
17 18 19 20 |
# File 'lib/cucumber/formatter/color_io.rb', line 17 def <<(output) print(output) self end |