lib/request_log_analyzer/output/html.rb in request-log-analyzer-1.5.0 vs lib/request_log_analyzer/output/html.rb in request-log-analyzer-1.5.1

- old
+ new

@@ -5,9 +5,17 @@ # def initialize(io, options = {}) # super(io, options) # end + def colorize(text, *style) + if style.include?(:bold) + tag(:strong, text) + else + text + end + end + # Print a string to the io object. def print(str) @io << str end \ No newline at end of file