summaryrefslogtreecommitdiff
path: root/lib/ansi2html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansi2html.rb')
-rw-r--r--lib/ansi2html.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ansi2html.rb b/lib/ansi2html.rb
index 7e0c2a1..b85c85a 100644
--- a/lib/ansi2html.rb
+++ b/lib/ansi2html.rb
@@ -188,7 +188,7 @@ module Ansi2html
color_name = COLOR[color_index]
return nil if color_name.nil?
- return get_color_class(["term", prefix, color_name])
+ get_color_class(["term", prefix, color_name])
end
def set_fg_color_256(command_stack)
@@ -212,11 +212,11 @@ module Ansi2html
return unless color_index >= 0
return unless color_index <= 255
- return get_color_class(["xterm", prefix, color_index])
+ get_color_class(["xterm", prefix, color_index])
end
def get_color_class(segments)
- return [segments].flatten.compact.join('-')
+ [segments].flatten.compact.join('-')
end
end
end