erbook 5.0.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/Rakefile +6 -79
- data/bin/erbook +25 -319
- data/doc/HelloWorld.spec +23 -21
- data/doc/README +4 -3
- data/doc/api/ERBook.html +35 -0
- data/doc/api/ERBook/Document.html +673 -0
- data/doc/api/ERBook/Document/Node.html +102 -0
- data/doc/api/ERBook/Template.html +670 -0
- data/doc/api/RDoc.html +23 -0
- data/doc/api/RDoc/AnyMethod.html +302 -0
- data/doc/api/RDoc/DummyMarkup.html +73 -0
- data/doc/api/RDoc/DummyMixin.html +23 -0
- data/doc/api/RDoc/DummyOptions.html +140 -0
- data/doc/api/RDoc/TopLevel.html +465 -0
- data/doc/api/String.html +372 -0
- data/doc/api/all-methods.html +253 -0
- data/doc/api/all-namespaces.html +42 -0
- data/doc/api/app.js +18 -0
- data/doc/api/index.html +16 -22
- data/doc/api/jquery.js +11 -0
- data/doc/api/readme.html +35 -0
- data/doc/api/style.css +68 -0
- data/doc/api/syntax_highlight.css +21 -0
- data/doc/erbook.png +0 -0
- data/doc/erbook.svg +150 -88
- data/doc/formats.erb +387 -0
- data/doc/history.erb +62 -0
- data/doc/index.erb +8 -0
- data/doc/index.xhtml +846 -654
- data/doc/intro.erb +97 -0
- data/doc/setup.erb +62 -0
- data/doc/theory.erb +187 -0
- data/doc/usage.erb +39 -0
- data/fmt/xhtml.yaml +497 -372
- data/lib/erbook.rb +18 -10
- data/lib/erbook/document.rb +233 -0
- data/lib/erbook/template.rb +210 -0
- data/lib/erbook/to_xhtml.rb +25 -17
- metadata +39 -45
- data/README +0 -14
- data/doc/api/classes/ERBook.html +0 -164
- data/doc/api/classes/RDoc.html +0 -112
- data/doc/api/classes/RDoc/AnyMethod.html +0 -195
- data/doc/api/classes/RDoc/AnyMethod.src/M000003.html +0 -18
- data/doc/api/classes/RDoc/AnyMethod.src/M000004.html +0 -23
- data/doc/api/classes/RDoc/AnyMethod.src/M000005.html +0 -18
- data/doc/api/classes/RDoc/AnyMethod.src/M000006.html +0 -22
- data/doc/api/classes/RDoc/TopLevel.html +0 -250
- data/doc/api/classes/RDoc/TopLevel.src/M000007.html +0 -18
- data/doc/api/classes/RDoc/TopLevel.src/M000008.html +0 -18
- data/doc/api/classes/RDoc/TopLevel.src/M000009.html +0 -18
- data/doc/api/classes/RDoc/TopLevel.src/M000010.html +0 -29
- data/doc/api/classes/RDoc/TopLevel.src/M000011.html +0 -25
- data/doc/api/classes/RDoc/TopLevel.src/M000012.html +0 -18
- data/doc/api/classes/String.html +0 -196
- data/doc/api/classes/String.src/M000001.html +0 -18
- data/doc/api/classes/String.src/M000002.html +0 -31
- data/doc/api/created.rid +0 -1
- data/doc/api/files/lib/erbook/rdoc_rb.html +0 -116
- data/doc/api/files/lib/erbook/to_xhtml_rb.html +0 -125
- data/doc/api/files/lib/erbook_rb.html +0 -107
- data/doc/api/fr_class_index.html +0 -31
- data/doc/api/fr_file_index.html +0 -29
- data/doc/api/fr_method_index.html +0 -38
- data/doc/api/rdoc-style.css +0 -208
- data/doc/feed-icon-28x28.png +0 -0
- data/doc/manual.erb +0 -812
data/doc/api/RDoc.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Module: RDoc</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section module RDoc">
|
16
|
+
<h1 class="title">Module: RDoc</h1>
|
17
|
+
<div class="section constants">
|
18
|
+
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,302 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: RDoc::AnyMethod</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class RDoc_AnyMethod">
|
16
|
+
<h1 class="title">Class: RDoc::AnyMethod</h1>
|
17
|
+
<div class="section constants">
|
18
|
+
|
19
|
+
</div> <div class="section visibilitygroup public">
|
20
|
+
<h1>Public Visibility</h1>
|
21
|
+
<div class="section methodsummary instance public">
|
22
|
+
<h1>Public Instance Method Summary</h1>
|
23
|
+
<table class="summary">
|
24
|
+
|
25
|
+
<tr>
|
26
|
+
<th class="signature">
|
27
|
+
<span class='name'><a href="#comment_html-instance_method" title="#comment_html">#comment_html</a></span><span class='args'></span>
|
28
|
+
<span class='block'></span>
|
29
|
+
|
30
|
+
</th>
|
31
|
+
<td class="docstring">
|
32
|
+
<p>
|
33
|
+
Returns a HTML version of this method’s comment.
|
34
|
+
</p>
|
35
|
+
|
36
|
+
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
|
40
|
+
<tr>
|
41
|
+
<th class="signature">
|
42
|
+
<span class='name'><a href="#decl-instance_method" title="#decl">#decl</a></span><span class='args'></span>
|
43
|
+
<span class='block'></span>
|
44
|
+
|
45
|
+
</th>
|
46
|
+
<td class="docstring">
|
47
|
+
<p>
|
48
|
+
Returns a complete method declaration with block parameters and all.
|
49
|
+
</p>
|
50
|
+
|
51
|
+
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
|
55
|
+
<tr>
|
56
|
+
<th class="signature">
|
57
|
+
<span class='name'><a href="#full_name-instance_method" title="#full_name">#full_name</a></span><span class='args'></span>
|
58
|
+
<span class='block'></span>
|
59
|
+
|
60
|
+
</th>
|
61
|
+
<td class="docstring">
|
62
|
+
<p>
|
63
|
+
Returns the fully qualified name of this method.
|
64
|
+
</p>
|
65
|
+
|
66
|
+
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
|
70
|
+
<tr>
|
71
|
+
<th class="signature">
|
72
|
+
<span class='name'><a href="#top_level-instance_method" title="#top_level">#top_level</a></span><span class='args'></span>
|
73
|
+
<span class='block'></span>
|
74
|
+
|
75
|
+
</th>
|
76
|
+
<td class="docstring">
|
77
|
+
<p>
|
78
|
+
Returns the RDoc::TopLevel object which contains this method.
|
79
|
+
</p>
|
80
|
+
|
81
|
+
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
|
85
|
+
</table>
|
86
|
+
</div>
|
87
|
+
<div class="section methoddetails instance public">
|
88
|
+
<h1>Public Instance Method Details</h1>
|
89
|
+
|
90
|
+
<div class="method">
|
91
|
+
<div class="method_header">
|
92
|
+
<h3>comment_html</h3>
|
93
|
+
</div><div id="comment_html-instance_method" class="section method">
|
94
|
+
<div class="details_title">
|
95
|
+
<div class='section methodsignature'>
|
96
|
+
<tt class='def'>
|
97
|
+
<span class='visibility'>public</span>
|
98
|
+
<span class='return_types'></span>
|
99
|
+
<span class='name'>comment_html</span><span class='args'></span>
|
100
|
+
<span class='block'></span>
|
101
|
+
</tt>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</div><div class="section docstring">
|
105
|
+
<p>
|
106
|
+
Returns a HTML version of this method’s comment.
|
107
|
+
</p>
|
108
|
+
|
109
|
+
</div><div class="section source">
|
110
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
111
|
+
<div class="source_code">
|
112
|
+
<table>
|
113
|
+
<tr>
|
114
|
+
<td>
|
115
|
+
<pre class="lines">
|
116
|
+
|
117
|
+
|
118
|
+
91
|
119
|
+
92
|
120
|
+
93</pre>
|
121
|
+
</td>
|
122
|
+
<td>
|
123
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 91</span>
|
124
|
+
|
125
|
+
<span class='def def kw'>def</span> <span class='comment_html identifier id'>comment_html</span>
|
126
|
+
<span class='DummyMarkup constant id'>DummyMarkup</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='dot token'>.</span><span class='markup identifier id'>markup</span> <span class='comment identifier id'>comment</span>
|
127
|
+
<span class='end end kw'>end</span>
|
128
|
+
</pre>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
</table>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<div class="method">
|
138
|
+
<div class="method_header">
|
139
|
+
<h3>decl</h3>
|
140
|
+
</div><div id="decl-instance_method" class="section method">
|
141
|
+
<div class="details_title">
|
142
|
+
<div class='section methodsignature'>
|
143
|
+
<tt class='def'>
|
144
|
+
<span class='visibility'>public</span>
|
145
|
+
<span class='return_types'></span>
|
146
|
+
<span class='name'>decl</span><span class='args'></span>
|
147
|
+
<span class='block'></span>
|
148
|
+
</tt>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</div><div class="section docstring">
|
152
|
+
<p>
|
153
|
+
Returns a complete method declaration with block parameters and all.
|
154
|
+
</p>
|
155
|
+
|
156
|
+
</div><div class="section source">
|
157
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
158
|
+
<div class="source_code">
|
159
|
+
<table>
|
160
|
+
<tr>
|
161
|
+
<td>
|
162
|
+
<pre class="lines">
|
163
|
+
|
164
|
+
|
165
|
+
81
|
166
|
+
82
|
167
|
+
83
|
168
|
+
84
|
169
|
+
85
|
170
|
+
86
|
171
|
+
87
|
172
|
+
88</pre>
|
173
|
+
</td>
|
174
|
+
<td>
|
175
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 81</span>
|
176
|
+
|
177
|
+
<span class='def def kw'>def</span> <span class='decl identifier id'>decl</span>
|
178
|
+
<span class='a identifier id'>a</span> <span class='assign token'>=</span> <span class='params identifier id'>params</span><span class='dot token'>.</span><span class='dup identifier id'>dup</span>
|
179
|
+
<span class='if if kw'>if</span> <span class='b identifier id'>b</span> <span class='assign token'>=</span> <span class='block_params identifier id'>block_params</span>
|
180
|
+
<span class='a identifier id'>a</span><span class='dot token'>.</span><span class='sub! fid id'>sub!</span> <span class='regexp val'>%r/\s*\#.*(?=.$)/</span><span class='comma token'>,</span> <span class='string val'>''</span> <span class='comment val'># remove "# :yields: ..." string</span>
|
181
|
+
<span class='a identifier id'>a</span> <span class='lshft op'><<</span> <span class='dstring node'>" {|#{b}| ... }"</span>
|
182
|
+
<span class='end end kw'>end</span>
|
183
|
+
<span class='full_name identifier id'>full_name</span> <span class='lshft op'><<</span> <span class='a identifier id'>a</span>
|
184
|
+
<span class='end end kw'>end</span>
|
185
|
+
</pre>
|
186
|
+
</td>
|
187
|
+
</tr>
|
188
|
+
</table>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<div class="method">
|
195
|
+
<div class="method_header">
|
196
|
+
<h3>full_name</h3>
|
197
|
+
</div><div id="full_name-instance_method" class="section method">
|
198
|
+
<div class="details_title">
|
199
|
+
<div class='section methodsignature'>
|
200
|
+
<tt class='def'>
|
201
|
+
<span class='visibility'>public</span>
|
202
|
+
<span class='return_types'></span>
|
203
|
+
<span class='name'>full_name</span><span class='args'></span>
|
204
|
+
<span class='block'></span>
|
205
|
+
</tt>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
</div><div class="section docstring">
|
209
|
+
<p>
|
210
|
+
Returns the fully qualified name of this method.
|
211
|
+
</p>
|
212
|
+
|
213
|
+
</div><div class="section source">
|
214
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
215
|
+
<div class="source_code">
|
216
|
+
<table>
|
217
|
+
<tr>
|
218
|
+
<td>
|
219
|
+
<pre class="lines">
|
220
|
+
|
221
|
+
|
222
|
+
76
|
223
|
+
77
|
224
|
+
78</pre>
|
225
|
+
</td>
|
226
|
+
<td>
|
227
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 76</span>
|
228
|
+
|
229
|
+
<span class='def def kw'>def</span> <span class='full_name identifier id'>full_name</span>
|
230
|
+
<span class='lbrack token'>[</span><span class='parent identifier id'>parent</span><span class='dot token'>.</span><span class='full_name identifier id'>full_name</span><span class='comma token'>,</span> <span class='name identifier id'>name</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='singleton identifier id'>singleton</span> <span class='integer val'>? </span><span class='string val'>'::'</span> <span class='colon op'>:</span> <span class='string val'>'#'</span><span class='rparen token'>)</span>
|
231
|
+
<span class='end end kw'>end</span>
|
232
|
+
</pre>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
</table>
|
236
|
+
</div>
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
|
241
|
+
<div class="method">
|
242
|
+
<div class="method_header">
|
243
|
+
<h3>top_level</h3>
|
244
|
+
</div><div id="top_level-instance_method" class="section method">
|
245
|
+
<div class="details_title">
|
246
|
+
<div class='section methodsignature'>
|
247
|
+
<tt class='def'>
|
248
|
+
<span class='visibility'>public</span>
|
249
|
+
<span class='return_types'></span>
|
250
|
+
<span class='name'>top_level</span><span class='args'></span>
|
251
|
+
<span class='block'></span>
|
252
|
+
</tt>
|
253
|
+
</div>
|
254
|
+
|
255
|
+
</div><div class="section docstring">
|
256
|
+
<p>
|
257
|
+
Returns the RDoc::TopLevel object which contains this method.
|
258
|
+
</p>
|
259
|
+
|
260
|
+
</div><div class="section source">
|
261
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
262
|
+
<div class="source_code">
|
263
|
+
<table>
|
264
|
+
<tr>
|
265
|
+
<td>
|
266
|
+
<pre class="lines">
|
267
|
+
|
268
|
+
|
269
|
+
96
|
270
|
+
97
|
271
|
+
98
|
272
|
+
99
|
273
|
+
100
|
274
|
+
101
|
275
|
+
102</pre>
|
276
|
+
</td>
|
277
|
+
<td>
|
278
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 96</span>
|
279
|
+
|
280
|
+
<span class='def def kw'>def</span> <span class='top_level identifier id'>top_level</span>
|
281
|
+
<span class='n identifier id'>n</span> <span class='assign token'>=</span> <span class='parent identifier id'>parent</span>
|
282
|
+
<span class='while while kw'>while</span> <span class='n identifier id'>n</span> <span class='andop op'>&&</span> <span class='n identifier id'>n</span><span class='dot token'>.</span><span class='parent identifier id'>parent</span>
|
283
|
+
<span class='n identifier id'>n</span> <span class='assign token'>=</span> <span class='n identifier id'>n</span><span class='dot token'>.</span><span class='parent identifier id'>parent</span>
|
284
|
+
<span class='end end kw'>end</span>
|
285
|
+
<span class='n identifier id'>n</span>
|
286
|
+
<span class='end end kw'>end</span>
|
287
|
+
</pre>
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
</table>
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
</div>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
</div>
|
301
|
+
</body>
|
302
|
+
</html>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: RDoc::DummyMarkup</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class RDoc_DummyMarkup">
|
16
|
+
<h1 class="title">Class: RDoc::DummyMarkup</h1>
|
17
|
+
<div class="section mixins">
|
18
|
+
<h1>Included Modules</h1>
|
19
|
+
<p>Generators::MarkUp, <a href="DummyMarkup/DummyMixin.html" title="RDoc::DummyMixin">RDoc::DummyMixin</a></p>
|
20
|
+
</div><div class="section constants">
|
21
|
+
|
22
|
+
</div><div class="section methodmissing">
|
23
|
+
<h1>Dynamic Method Handling</h1>
|
24
|
+
|
25
|
+
<p class="note">
|
26
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
27
|
+
|
28
|
+
in the class <a href="DummyMixin.html" title="RDoc::DummyMixin">RDoc::DummyMixin</a>
|
29
|
+
|
30
|
+
</p>
|
31
|
+
|
32
|
+
<div id="method_missing-instance_method" class="section method">
|
33
|
+
<div class="details_title">
|
34
|
+
<div class='section methodsignature'>
|
35
|
+
<tt class='def'>
|
36
|
+
<span class='visibility'>public</span>
|
37
|
+
<span class='return_types'></span>
|
38
|
+
<span class='name'>method_missing</span><span class='args'>(*args)</span>
|
39
|
+
<span class='block'></span>
|
40
|
+
</tt>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</div><div class="section source">
|
44
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
45
|
+
<div class="source_code">
|
46
|
+
<table>
|
47
|
+
<tr>
|
48
|
+
<td>
|
49
|
+
<pre class="lines">
|
50
|
+
|
51
|
+
|
52
|
+
108
|
53
|
+
109
|
54
|
+
110</pre>
|
55
|
+
</td>
|
56
|
+
<td>
|
57
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 108</span>
|
58
|
+
|
59
|
+
<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span> <span class='mult op'>*</span><span class='args identifier id'>args</span>
|
60
|
+
<span class='comment val'># ignore all messages</span>
|
61
|
+
<span class='end end kw'>end</span>
|
62
|
+
</pre>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</body>
|
73
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Module: RDoc::DummyMixin</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section module RDoc_DummyMixin">
|
16
|
+
<h1 class="title">Module: RDoc::DummyMixin</h1>
|
17
|
+
<div class="section constants">
|
18
|
+
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,140 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: RDoc::DummyOptions</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class RDoc_DummyOptions">
|
16
|
+
<h1 class="title">Class: RDoc::DummyOptions</h1>
|
17
|
+
<div class="section mixins">
|
18
|
+
<h1>Included Modules</h1>
|
19
|
+
<p><a href="DummyOptions/DummyMixin.html" title="RDoc::DummyMixin">RDoc::DummyMixin</a></p>
|
20
|
+
</div><div class="section constants">
|
21
|
+
|
22
|
+
</div><div class="section methodmissing">
|
23
|
+
<h1>Dynamic Method Handling</h1>
|
24
|
+
|
25
|
+
<p class="note">
|
26
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
27
|
+
|
28
|
+
in the class <a href="DummyMixin.html" title="RDoc::DummyMixin">RDoc::DummyMixin</a>
|
29
|
+
|
30
|
+
</p>
|
31
|
+
|
32
|
+
<div id="method_missing-instance_method" class="section method">
|
33
|
+
<div class="details_title">
|
34
|
+
<div class='section methodsignature'>
|
35
|
+
<tt class='def'>
|
36
|
+
<span class='visibility'>public</span>
|
37
|
+
<span class='return_types'></span>
|
38
|
+
<span class='name'>method_missing</span><span class='args'>(*args)</span>
|
39
|
+
<span class='block'></span>
|
40
|
+
</tt>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</div><div class="section source">
|
44
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
45
|
+
<div class="source_code">
|
46
|
+
<table>
|
47
|
+
<tr>
|
48
|
+
<td>
|
49
|
+
<pre class="lines">
|
50
|
+
|
51
|
+
|
52
|
+
108
|
53
|
+
109
|
54
|
+
110</pre>
|
55
|
+
</td>
|
56
|
+
<td>
|
57
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 108</span>
|
58
|
+
|
59
|
+
<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span> <span class='mult op'>*</span><span class='args identifier id'>args</span>
|
60
|
+
<span class='comment val'># ignore all messages</span>
|
61
|
+
<span class='end end kw'>end</span>
|
62
|
+
</pre>
|
63
|
+
</td>
|
64
|
+
</tr>
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div> <div class="section visibilitygroup public">
|
70
|
+
<h1>Public Visibility</h1>
|
71
|
+
<div class="section methodsummary instance public">
|
72
|
+
<h1>Public Instance Method Summary</h1>
|
73
|
+
<table class="summary">
|
74
|
+
|
75
|
+
<tr>
|
76
|
+
<th class="signature">
|
77
|
+
<span class='name'><a href="#quiet-instance_method" title="#quiet">#quiet</a></span><span class='args'></span>
|
78
|
+
<span class='block'></span>
|
79
|
+
|
80
|
+
</th>
|
81
|
+
<td class="docstring">
|
82
|
+
|
83
|
+
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
|
87
|
+
</table>
|
88
|
+
</div>
|
89
|
+
<div class="section methoddetails instance public">
|
90
|
+
<h1>Public Instance Method Details</h1>
|
91
|
+
|
92
|
+
<div class="method">
|
93
|
+
<div class="method_header">
|
94
|
+
<h3>quiet</h3>
|
95
|
+
</div><div id="quiet-instance_method" class="section method">
|
96
|
+
<div class="details_title">
|
97
|
+
<div class='section methodsignature'>
|
98
|
+
<tt class='def'>
|
99
|
+
<span class='visibility'>public</span>
|
100
|
+
<span class='return_types'></span>
|
101
|
+
<span class='name'>quiet</span><span class='args'></span>
|
102
|
+
<span class='block'></span>
|
103
|
+
</tt>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div><div class="section source">
|
107
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
108
|
+
<div class="source_code">
|
109
|
+
<table>
|
110
|
+
<tr>
|
111
|
+
<td>
|
112
|
+
<pre class="lines">
|
113
|
+
|
114
|
+
|
115
|
+
116
|
116
|
+
117
|
117
|
+
118</pre>
|
118
|
+
</td>
|
119
|
+
<td>
|
120
|
+
<pre class="code"><span class="info file"># File 'lib/erbook/rdoc.rb', line 116</span>
|
121
|
+
|
122
|
+
<span class='def def kw'>def</span> <span class='quiet identifier id'>quiet</span>
|
123
|
+
<span class='true true kw'>true</span>
|
124
|
+
<span class='end end kw'>end</span>
|
125
|
+
</pre>
|
126
|
+
</td>
|
127
|
+
</tr>
|
128
|
+
</table>
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
</body>
|
140
|
+
</html>
|