Class: Hotspots::Logger::Colour::ANSI

Inherits:
Object
  • Object
show all
Defined in:
lib/hotspots/logger.rb

Class Method Summary collapse

Class Method Details

.as(colour, message) ⇒ Object



19
20
21
# File 'lib/hotspots/logger.rb', line 19

def self.as(colour, message)
  ::ANSI::Code.send(colour, message)
end