summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-02 00:32:30 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-02 00:32:30 +0000
commitcc2a16d94d744d14d4a5eb06eca22137f8a9b79e (patch)
tree2907a20e2d9ae3a2831707056bb3fe2d384b066d /lib/rdoc/markup.rb
parent918f625a5eeba35b9b191cb39c1d634b4cc7efee (diff)
Import RDoc 3.5.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup.rb')
-rw-r--r--lib/rdoc/markup.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rdoc/markup.rb b/lib/rdoc/markup.rb
index c8914fea11..9a2e7f2ca8 100644
--- a/lib/rdoc/markup.rb
+++ b/lib/rdoc/markup.rb
@@ -483,7 +483,7 @@ require 'rdoc'
# [+:include:+ _filename_]
# Include the contents of the named file at this point. This directive
# must appear alone on one line, possibly preceded by spaces. In this
-# position, it can be escapd with a \ in front of the first colon.
+# position, it can be escaped with a \ in front of the first colon.
#
# The file will be searched for in the directories listed by the +--include+
# option, or in the current directory by default. The contents of the file
@@ -537,8 +537,8 @@ class RDoc::Markup
# structure (paragraphs, lists, and so on). Invoke an event handler as we
# identify significant chunks.
- def initialize
- @attribute_manager = RDoc::Markup::AttributeManager.new
+ def initialize attribute_manager = nil
+ @attribute_manager = attribute_manager || RDoc::Markup::AttributeManager.new
@output = nil
end