summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-22 15:00:29 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-22 15:00:29 +0000
commit2c5dcdf0b489d9ede506a2bd8c29075a24cdd891 (patch)
tree1bd5640ba1f592145b16c5882f690163b18b8741 /lib/rdoc
parente5eb6e9a3b8c2235dc81c0f3cb9c90e2b9f49c09 (diff)
* lib/{rake,rdoc,rss}/*, test/rexml/test_listener.rb: [DOC] Fix typos
by @dvsuresh [Fixes GH-486] https://github.com/ruby/ruby/pull/486 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/rd/block_parser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb
index dd15e1262e..ed621290fd 100644
--- a/lib/rdoc/rd/block_parser.rb
+++ b/lib/rdoc/rd/block_parser.rb
@@ -144,9 +144,9 @@ def next_token # :nodoc:
# call filter, part_out is output(Part object)
part_out = @tree.filter[@in_part].call(part)
- if @tree.filter[@in_part].mode == :rd # if output is RD formated
+ if @tree.filter[@in_part].mode == :rd # if output is RD formatted
subtree = parse_subtree(part_out.to_a)
- else # if output is target formated
+ else # if output is target formatted
basename = TMPFILE.join('.')
TMPFILE[-1] += 1
tmpfile = open(@tree.tmp_dir + "/" + basename + ".#{@in_part}", "w")