Class: Logger::LogDevice
- Inherits:
-
Object
- Object
- Logger::LogDevice
- Defined in:
- lib/ansi/logger.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#ansicolor ⇒ Object
writeonly
:nodoc:.
Instance Method Summary collapse
Instance Attribute Details
#ansicolor=(value) ⇒ Object (writeonly)
:nodoc:
36 37 38 |
# File 'lib/ansi/logger.rb', line 36 def ansicolor=(value) @ansicolor = value end |
Instance Method Details
#ansicolor? ⇒ Boolean
38 39 40 |
# File 'lib/ansi/logger.rb', line 38 def ansicolor? @ansicolor.nil? ? true : @ansicolor end |