Class: String

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

Instance Method Summary collapse

Instance Method Details

#termcolorObject



12
13
14
# File 'lib/logger.rb', line 12

def termcolor
  self.gsub(/<\/?.+?>/, "").gsub("&lt;", "<").gsub("&gt;", ">")
end