* {ext,lib,test}/**/*.rb: removed trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-16 21:51:01 +00:00
parent c89882197e
commit 75c1cac7f3
442 changed files with 4654 additions and 4654 deletions

View file

@ -15,23 +15,23 @@ module RDoc
# to return an appropriately parsed TopLevel code object.
#
# The ParseFactory is used to redirect to the correct parser given a filename
# extension. This magic works because individual parsers have to register
# extension. This magic works because individual parsers have to register
# themselves with us as they are loaded in. The do this using the following
# incantation
#
#
# require "rdoc/parsers/parsefactory"
#
#
# module RDoc
#
#
# class XyzParser
# extend ParseFactory <<<<
# parse_files_matching /\.xyz$/ <<<<
#
#
# def initialize(file_name, body, options)
# ...
# end
#
#
# def scan
# ...
# end
@ -74,7 +74,7 @@ module RDoc
true
end
# Find the correct parser for a particular file name. Return a
# Find the correct parser for a particular file name. Return a
# SimpleParser for ones that we don't know
def ParserFactory.parser_for(top_level, file_name, body, options, stats)
@ -88,7 +88,7 @@ module RDoc
end
parser_description = can_parse(file_name)
if parser_description
parser = parser_description.parser
parser = parser_description.parser
else
parser = SimpleParser
end