Skip to content

Commit 8bcb266

Browse files
author
Zachary Scott
committed
Applied typo fixes by @dvsuresh from ruby/ruby@2c5dcdf
1 parent e29cdb7 commit 8bcb266

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

History.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
by Vít Ondruch.
3636

3737
* Bug fixes
38+
* Applied typo fixes by @dvsuresh from ruby/ruby@2c5dcdf
3839
* Restored behavior of --no-pager alias -T. Pull request #223 by ruafozy.
3940
* Fixed extra whitespace output in the rdoc coverage report. Bug #210 by
4041
Ryan Davis.

lib/rdoc/rd/block_parser.ry

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ def next_token # :nodoc:
357357
# call filter, part_out is output(Part object)
358358
part_out = @tree.filter[@in_part].call(part)
359359

360-
if @tree.filter[@in_part].mode == :rd # if output is RD formated
360+
if @tree.filter[@in_part].mode == :rd # if output is RD formatted
361361
subtree = parse_subtree(part_out.to_a)
362-
else # if output is target formated
362+
else # if output is target formatted
363363
basename = TMPFILE.join('.')
364364
TMPFILE[-1] += 1
365365
tmpfile = open(@tree.tmp_dir + "/" + basename + ".#{@in_part}", "w")

0 commit comments

Comments
 (0)