Module: NHKore::CriColorExt
- Defined in:
- lib/nhkore/app.rb
Overview
For disabling/enabling color output.
Instance Method Summary collapse
Instance Method Details
#color=(color) ⇒ Object
39 40 41 |
# File 'lib/nhkore/app.rb', line 39 def color=(color) @color = color end |
#color?(io) ⇒ Boolean
43 44 45 |
# File 'lib/nhkore/app.rb', line 43 def color?(io) return @color end |