1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-06 03:56:38 +00:00
parent 9b52ae2e64
commit 287a34ae0d
856 changed files with 13989 additions and 13989 deletions

View file

@ -6,7 +6,7 @@ module RDoc::Generator::CHM::CHM
HTML = RDoc::Generator::HTML::HTML
INDEX = HTML::INDEX
STYLE = HTML::STYLE
CLASS_INDEX = HTML::CLASS_INDEX

View file

@ -305,9 +305,9 @@ class RDoc::Generator::HTML
open 'index.html', 'w' do |f|
style_url = style_url '', @options.css
classes = @classes.sort.map { |klass| klass.value_hash }
values = {
'initial_page' => @main_url,
'style_url' => style_url('', @options.css),
@ -315,7 +315,7 @@ class RDoc::Generator::HTML
'charset' => @options.charset,
'classes' => classes,
}
values['inline_source'] = @options.inline_source
main.write_html_on f, values

View file

@ -125,9 +125,9 @@ EOF
STYLE = FACTORY.get_STYLE()
METHOD_LIST = FACTORY.get_METHOD_LIST()
BODY = FACTORY.get_BODY()
FILE_PAGE = FACTORY.get_FILE_PAGE()
CLASS_PAGE = FACTORY.get_CLASS_PAGE()

View file

@ -11,7 +11,7 @@ require 'rdoc/generator/html/common'
# '[source]' link.
#
# This template *also* forms the basis of the frameless template.
#
#
# == Authors
#
# * Michael Granger <ged@FaerieMUD.org>

View file

@ -126,9 +126,9 @@ EOF
STYLE = FACTORY.get_STYLE()
METHOD_LIST = FACTORY.get_METHOD_LIST()
BODY = FACTORY.get_BODY()
FILE_PAGE = FACTORY.get_FILE_PAGE()
CLASS_PAGE = FACTORY.get_CLASS_PAGE()

View file

@ -61,8 +61,8 @@ class RDoc::Generator::HTML::KilmerFactory
# If not supplied, this defaults to "Attributes".
#
attr_reader :attribute_list_heading
#
#
# ====Description:
# This method constructs a KilmerFactory instance, which
# can be used to build Kilmer-style template classes.
@ -72,7 +72,7 @@ class RDoc::Generator::HTML::KilmerFactory
# ====Parameters:
# [style_attributes]
# A Hash describing the appearance of the Kilmer-style.
#
#
def initialize(style_attributes)
@central_css = style_attributes[:central_css]
if(!@central_css)
@ -103,7 +103,7 @@ class RDoc::Generator::HTML::KilmerFactory
def get_STYLE
return @central_css
end
def get_METHOD_LIST
return %{
<% if values["diagram"] then %>

View file

@ -54,7 +54,7 @@ module RDoc::Generator::HTML::ONE_PAGE_HTML
<% sections["method_list"].each do |method_list| %>
<% if method_list["methods"] then %>
<% method_list["methods"].each do |methods| %>
<h4><%= methods["type"] %> <%= methods["category"] %> method:
<h4><%= methods["type"] %> <%= methods["category"] %> method:
<% if methods["callseq"] then %>
<a name="<%= methods["aref"] %>"><%= methods["callseq"] %></a>
<% end %>

View file

@ -51,7 +51,7 @@ module RDoc
def initialize(values, file = 'texinfo.erb')
@v, @file = [values, file]
end
def template
::File.read(::File.join(BASE_DIR, 'texinfo', @file))
end