summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_ansi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/to_ansi.rb')
-rw-r--r--lib/rdoc/markup/to_ansi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_ansi.rb b/lib/rdoc/markup/to_ansi.rb
index c9f874ea3c..108a038075 100644
--- a/lib/rdoc/markup/to_ansi.rb
+++ b/lib/rdoc/markup/to_ansi.rb
@@ -8,7 +8,7 @@ class RDoc::Markup::ToAnsi < RDoc::Markup::ToRdoc
##
# Creates a new ToAnsi visitor that is ready to output vibrant ANSI color!
- def initialize
+ def initialize markup = nil
super
@headings.clear