erbook 9.0.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/doc/api/classes/ERBook/Document.html +10 -10
- data/doc/api/classes/ERBook/Document/Node.html +30 -30
- data/doc/api/classes/ERBook/Template/Sandbox.html +5 -5
- data/doc/api/classes/RDoc/AnyMethod.html +20 -20
- data/doc/api/classes/RDoc/TopLevel.html +20 -20
- data/doc/api/classes/String.html +6 -6
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/lib/erbook/document_rb.html +1 -3
- data/doc/api/files/lib/erbook/rdoc_rb.html +1 -1
- data/doc/api/files/lib/erbook/to_xhtml_rb.html +2 -2
- data/doc/api/files/lib/erbook_rb.html +3 -1
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +40 -0
- data/doc/index.html +833 -512
- data/fmt/xhtml.yaml +380 -156
- data/lang/de.yaml +3 -4
- data/lang/el.yaml +3 -4
- data/lang/es.yaml +3 -4
- data/lang/fr.yaml +3 -4
- data/lang/it.yaml +3 -4
- data/lang/ja.yaml +3 -4
- data/lang/ko.yaml +3 -4
- data/lang/nl.yaml +3 -4
- data/lang/phrases.yaml +3 -4
- data/lang/pt.yaml +3 -4
- data/lang/ru.yaml +3 -4
- data/lang/zh.yaml +3 -4
- data/lang/zt.yaml +3 -4
- data/lib/erbook.rb +2 -2
- data/lib/erbook/to_xhtml.rb +3 -1
- metadata +5 -4
@@ -49,7 +49,7 @@
|
|
49
49
|
<dd>
|
50
50
|
<ul>
|
51
51
|
|
52
|
-
<li><a href="#
|
52
|
+
<li><a href="#M000049">new</a></li>
|
53
53
|
|
54
54
|
</ul>
|
55
55
|
</dd>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<dd>
|
59
59
|
<ul>
|
60
60
|
|
61
|
-
<li><a href="#
|
61
|
+
<li><a href="#M000062">to_s</a></li>
|
62
62
|
|
63
63
|
</ul>
|
64
64
|
</dd>
|
@@ -132,9 +132,9 @@ All nodes in the document arranged by node type.
|
|
132
132
|
<div class="sectiontitle">Class Public methods</div>
|
133
133
|
|
134
134
|
<div class="method">
|
135
|
-
<div class="title" id="
|
135
|
+
<div class="title" id="M000049">
|
136
136
|
|
137
|
-
<a name="
|
137
|
+
<a name="M000049"></a><b>new</b>(format_name, input_text, input_file, options = {})
|
138
138
|
|
139
139
|
</div>
|
140
140
|
|
@@ -166,12 +166,12 @@ specification file.
|
|
166
166
|
|
167
167
|
<div class="sourcecode">
|
168
168
|
<p class="source-link">
|
169
|
-
Source: <a href="javascript:toggleSource('
|
169
|
+
Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
|
170
170
|
|
171
171
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L42" target="_blank" class="github_url">on GitHub</a>
|
172
172
|
|
173
173
|
</p>
|
174
|
-
<div id="
|
174
|
+
<div id="M000049_source" class="dyn-source">
|
175
175
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 42</span>
|
176
176
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">format_name</span>, <span class="ruby-identifier">input_text</span>, <span class="ruby-identifier">input_file</span>, <span class="ruby-identifier">options</span> = {}
|
177
177
|
<span class="ruby-comment cmt"># process format specification</span>
|
@@ -381,9 +381,9 @@ specification file.
|
|
381
381
|
<div class="sectiontitle">Instance Public methods</div>
|
382
382
|
|
383
383
|
<div class="method">
|
384
|
-
<div class="title" id="
|
384
|
+
<div class="title" id="M000062">
|
385
385
|
|
386
|
-
<a name="
|
386
|
+
<a name="M000062"></a><b>to_s</b>()
|
387
387
|
|
388
388
|
</div>
|
389
389
|
|
@@ -399,12 +399,12 @@ Returns the output of this document.
|
|
399
399
|
|
400
400
|
<div class="sourcecode">
|
401
401
|
<p class="source-link">
|
402
|
-
Source: <a href="javascript:toggleSource('
|
402
|
+
Source: <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show</a>
|
403
403
|
|
404
404
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L246" target="_blank" class="github_url">on GitHub</a>
|
405
405
|
|
406
406
|
</p>
|
407
|
-
<div id="
|
407
|
+
<div id="M000062_source" class="dyn-source">
|
408
408
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 246</span>
|
409
409
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
410
410
|
<span class="ruby-constant">Template</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">"#{@format_file}:output"</span>, <span class="ruby-ivar">@format</span>[<span class="ruby-value str">'output'</span>].<span class="ruby-identifier">to_s</span>).
|
@@ -49,7 +49,7 @@
|
|
49
49
|
<dd>
|
50
50
|
<ul>
|
51
51
|
|
52
|
-
<li><a href="#
|
52
|
+
<li><a href="#M000066">chain?</a></li>
|
53
53
|
|
54
54
|
</ul>
|
55
55
|
</dd>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<dd>
|
59
59
|
<ul>
|
60
60
|
|
61
|
-
<li><a href="#
|
61
|
+
<li><a href="#M000067">inline?</a></li>
|
62
62
|
|
63
63
|
</ul>
|
64
64
|
</dd>
|
@@ -67,7 +67,7 @@
|
|
67
67
|
<dd>
|
68
68
|
<ul>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000065">ordinal_number?</a></li>
|
71
71
|
|
72
72
|
</ul>
|
73
73
|
</dd>
|
@@ -76,9 +76,9 @@
|
|
76
76
|
<dd>
|
77
77
|
<ul>
|
78
78
|
|
79
|
-
<li><a href="#
|
79
|
+
<li><a href="#M000064">section_number?</a>,</li>
|
80
80
|
|
81
|
-
<li><a href="#
|
81
|
+
<li><a href="#M000068">silent?</a></li>
|
82
82
|
|
83
83
|
</ul>
|
84
84
|
</dd>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
<dd>
|
88
88
|
<ul>
|
89
89
|
|
90
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000063">to_s</a></li>
|
91
91
|
|
92
92
|
</ul>
|
93
93
|
</dd>
|
@@ -109,9 +109,9 @@
|
|
109
109
|
<div class="sectiontitle">Instance Public methods</div>
|
110
110
|
|
111
111
|
<div class="method">
|
112
|
-
<div class="title" id="
|
112
|
+
<div class="title" id="M000066">
|
113
113
|
|
114
|
-
<a name="
|
114
|
+
<a name="M000066"></a><b>chain?</b>()
|
115
115
|
|
116
116
|
</div>
|
117
117
|
|
@@ -127,12 +127,12 @@ Include this node in the previous/next navigation chain?
|
|
127
127
|
|
128
128
|
<div class="sourcecode">
|
129
129
|
<p class="source-link">
|
130
|
-
Source: <a href="javascript:toggleSource('
|
130
|
+
Source: <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show</a>
|
131
131
|
|
132
132
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L279" target="_blank" class="github_url">on GitHub</a>
|
133
133
|
|
134
134
|
</p>
|
135
|
-
<div id="
|
135
|
+
<div id="M000066_source" class="dyn-source">
|
136
136
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 279</span>
|
137
137
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain?</span>
|
138
138
|
<span class="ruby-identifier">definition</span>[<span class="ruby-value str">'chain'</span>]
|
@@ -143,9 +143,9 @@ Include this node in the previous/next navigation chain?
|
|
143
143
|
</div>
|
144
144
|
|
145
145
|
<div class="method">
|
146
|
-
<div class="title" id="
|
146
|
+
<div class="title" id="M000067">
|
147
147
|
|
148
|
-
<a name="
|
148
|
+
<a name="M000067"></a><b>inline?</b>()
|
149
149
|
|
150
150
|
</div>
|
151
151
|
|
@@ -154,12 +154,12 @@ Include this node in the previous/next navigation chain?
|
|
154
154
|
|
155
155
|
<div class="sourcecode">
|
156
156
|
<p class="source-link">
|
157
|
-
Source: <a href="javascript:toggleSource('
|
157
|
+
Source: <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show</a>
|
158
158
|
|
159
159
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L283" target="_blank" class="github_url">on GitHub</a>
|
160
160
|
|
161
161
|
</p>
|
162
|
-
<div id="
|
162
|
+
<div id="M000067_source" class="dyn-source">
|
163
163
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 283</span>
|
164
164
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inline?</span>
|
165
165
|
<span class="ruby-identifier">definition</span>[<span class="ruby-value str">'inline'</span>]
|
@@ -170,9 +170,9 @@ Include this node in the previous/next navigation chain?
|
|
170
170
|
</div>
|
171
171
|
|
172
172
|
<div class="method">
|
173
|
-
<div class="title" id="
|
173
|
+
<div class="title" id="M000065">
|
174
174
|
|
175
|
-
<a name="
|
175
|
+
<a name="M000065"></a><b>ordinal_number?</b>()
|
176
176
|
|
177
177
|
</div>
|
178
178
|
|
@@ -181,12 +181,12 @@ Include this node in the previous/next navigation chain?
|
|
181
181
|
|
182
182
|
<div class="sourcecode">
|
183
183
|
<p class="source-link">
|
184
|
-
Source: <a href="javascript:toggleSource('
|
184
|
+
Source: <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show</a>
|
185
185
|
|
186
186
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L272" target="_blank" class="github_url">on GitHub</a>
|
187
187
|
|
188
188
|
</p>
|
189
|
-
<div id="
|
189
|
+
<div id="M000065_source" class="dyn-source">
|
190
190
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 272</span>
|
191
191
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ordinal_number?</span>
|
192
192
|
<span class="ruby-constant">Array</span>(<span class="ruby-identifier">definition</span>[<span class="ruby-value str">'number'</span>]).<span class="ruby-identifier">include?</span> <span class="ruby-value str">'ordinal'</span>
|
@@ -197,9 +197,9 @@ Include this node in the previous/next navigation chain?
|
|
197
197
|
</div>
|
198
198
|
|
199
199
|
<div class="method">
|
200
|
-
<div class="title" id="
|
200
|
+
<div class="title" id="M000064">
|
201
201
|
|
202
|
-
<a name="
|
202
|
+
<a name="M000064"></a><b>section_number?</b>()
|
203
203
|
|
204
204
|
</div>
|
205
205
|
|
@@ -208,12 +208,12 @@ Include this node in the previous/next navigation chain?
|
|
208
208
|
|
209
209
|
<div class="sourcecode">
|
210
210
|
<p class="source-link">
|
211
|
-
Source: <a href="javascript:toggleSource('
|
211
|
+
Source: <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show</a>
|
212
212
|
|
213
213
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L268" target="_blank" class="github_url">on GitHub</a>
|
214
214
|
|
215
215
|
</p>
|
216
|
-
<div id="
|
216
|
+
<div id="M000064_source" class="dyn-source">
|
217
217
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 268</span>
|
218
218
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">section_number?</span>
|
219
219
|
<span class="ruby-constant">Array</span>(<span class="ruby-identifier">definition</span>[<span class="ruby-value str">'number'</span>]).<span class="ruby-identifier">include?</span> <span class="ruby-value str">'section'</span>
|
@@ -224,9 +224,9 @@ Include this node in the previous/next navigation chain?
|
|
224
224
|
</div>
|
225
225
|
|
226
226
|
<div class="method">
|
227
|
-
<div class="title" id="
|
227
|
+
<div class="title" id="M000068">
|
228
228
|
|
229
|
-
<a name="
|
229
|
+
<a name="M000068"></a><b>silent?</b>()
|
230
230
|
|
231
231
|
</div>
|
232
232
|
|
@@ -235,12 +235,12 @@ Include this node in the previous/next navigation chain?
|
|
235
235
|
|
236
236
|
<div class="sourcecode">
|
237
237
|
<p class="source-link">
|
238
|
-
Source: <a href="javascript:toggleSource('
|
238
|
+
Source: <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show</a>
|
239
239
|
|
240
240
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L287" target="_blank" class="github_url">on GitHub</a>
|
241
241
|
|
242
242
|
</p>
|
243
|
-
<div id="
|
243
|
+
<div id="M000068_source" class="dyn-source">
|
244
244
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 287</span>
|
245
245
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">silent?</span>
|
246
246
|
<span class="ruby-identifier">definition</span>[<span class="ruby-value str">'silent'</span>]
|
@@ -251,9 +251,9 @@ Include this node in the previous/next navigation chain?
|
|
251
251
|
</div>
|
252
252
|
|
253
253
|
<div class="method">
|
254
|
-
<div class="title" id="
|
254
|
+
<div class="title" id="M000063">
|
255
255
|
|
256
|
-
<a name="
|
256
|
+
<a name="M000063"></a><b>to_s</b>()
|
257
257
|
|
258
258
|
</div>
|
259
259
|
|
@@ -269,12 +269,12 @@ Returns the output of this node.
|
|
269
269
|
|
270
270
|
<div class="sourcecode">
|
271
271
|
<p class="source-link">
|
272
|
-
Source: <a href="javascript:toggleSource('
|
272
|
+
Source: <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show</a>
|
273
273
|
|
274
274
|
| <a href="http://github.com/sunaku/erbook/blob/eda493a151e7b55d041d0a094c586e2c22aa63cc/lib/erbook/document.rb#L260" target="_blank" class="github_url">on GitHub</a>
|
275
275
|
|
276
276
|
</p>
|
277
|
-
<div id="
|
277
|
+
<div id="M000063_source" class="dyn-source">
|
278
278
|
<pre><span class="ruby-comment cmt"># File lib/erbook/document.rb, line 260</span>
|
279
279
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
|
280
280
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">silent?</span>
|
@@ -56,7 +56,7 @@ Environment for template evaluation.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000046">__block_content__</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -78,9 +78,9 @@ Environment for template evaluation.
|
|
78
78
|
<div class="sectiontitle">Instance Public methods</div>
|
79
79
|
|
80
80
|
<div class="method">
|
81
|
-
<div class="title" id="
|
81
|
+
<div class="title" id="M000046">
|
82
82
|
|
83
|
-
<a name="
|
83
|
+
<a name="M000046"></a><b>__block_content__</b>(*block_args)
|
84
84
|
|
85
85
|
</div>
|
86
86
|
|
@@ -98,12 +98,12 @@ returns the result of invoking the given block inside an array.
|
|
98
98
|
|
99
99
|
<div class="sourcecode">
|
100
100
|
<p class="source-link">
|
101
|
-
Source: <a href="javascript:toggleSource('
|
101
|
+
Source: <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show</a>
|
102
102
|
|
103
103
|
| <a href="http://github.com/sunaku/erbook/blob/2b6f0dba66f674e479ef2cdeb7530389bf2af169/lib/erbook/template.rb#L100" target="_blank" class="github_url">on GitHub</a>
|
104
104
|
|
105
105
|
</p>
|
106
|
-
<div id="
|
106
|
+
<div id="M000046_source" class="dyn-source">
|
107
107
|
<pre><span class="ruby-comment cmt"># File lib/erbook/template.rb, line 100</span>
|
108
108
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">__block_content__</span> <span class="ruby-operator">*</span><span class="ruby-identifier">block_args</span>
|
109
109
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">'block must be given'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
<dd>
|
50
50
|
<ul>
|
51
51
|
|
52
|
-
<li><a href="#
|
52
|
+
<li><a href="#M000060">comment_html</a></li>
|
53
53
|
|
54
54
|
</ul>
|
55
55
|
</dd>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<dd>
|
59
59
|
<ul>
|
60
60
|
|
61
|
-
<li><a href="#
|
61
|
+
<li><a href="#M000059">decl</a></li>
|
62
62
|
|
63
63
|
</ul>
|
64
64
|
</dd>
|
@@ -67,7 +67,7 @@
|
|
67
67
|
<dd>
|
68
68
|
<ul>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000058">full_name</a></li>
|
71
71
|
|
72
72
|
</ul>
|
73
73
|
</dd>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<dd>
|
77
77
|
<ul>
|
78
78
|
|
79
|
-
<li><a href="#
|
79
|
+
<li><a href="#M000061">top_level</a></li>
|
80
80
|
|
81
81
|
</ul>
|
82
82
|
</dd>
|
@@ -98,9 +98,9 @@
|
|
98
98
|
<div class="sectiontitle">Instance Public methods</div>
|
99
99
|
|
100
100
|
<div class="method">
|
101
|
-
<div class="title" id="
|
101
|
+
<div class="title" id="M000060">
|
102
102
|
|
103
|
-
<a name="
|
103
|
+
<a name="M000060"></a><b>comment_html</b>()
|
104
104
|
|
105
105
|
</div>
|
106
106
|
|
@@ -116,12 +116,12 @@ Returns a HTML version of this method’s comment.
|
|
116
116
|
|
117
117
|
<div class="sourcecode">
|
118
118
|
<p class="source-link">
|
119
|
-
Source: <a href="javascript:toggleSource('
|
119
|
+
Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
|
120
120
|
|
121
121
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L116" target="_blank" class="github_url">on GitHub</a>
|
122
122
|
|
123
123
|
</p>
|
124
|
-
<div id="
|
124
|
+
<div id="M000060_source" class="dyn-source">
|
125
125
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 116</span>
|
126
126
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">comment_html</span>
|
127
127
|
<span class="ruby-constant">DummyMarkup</span>.<span class="ruby-identifier">new</span>.<span class="ruby-identifier">markup</span> <span class="ruby-identifier">comment</span>
|
@@ -132,9 +132,9 @@ Returns a HTML version of this method’s comment.
|
|
132
132
|
</div>
|
133
133
|
|
134
134
|
<div class="method">
|
135
|
-
<div class="title" id="
|
135
|
+
<div class="title" id="M000059">
|
136
136
|
|
137
|
-
<a name="
|
137
|
+
<a name="M000059"></a><b>decl</b>()
|
138
138
|
|
139
139
|
</div>
|
140
140
|
|
@@ -150,12 +150,12 @@ Returns a complete method declaration with block parameters and all.
|
|
150
150
|
|
151
151
|
<div class="sourcecode">
|
152
152
|
<p class="source-link">
|
153
|
-
Source: <a href="javascript:toggleSource('
|
153
|
+
Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
|
154
154
|
|
155
155
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L102" target="_blank" class="github_url">on GitHub</a>
|
156
156
|
|
157
157
|
</p>
|
158
|
-
<div id="
|
158
|
+
<div id="M000059_source" class="dyn-source">
|
159
159
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 102</span>
|
160
160
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">decl</span>
|
161
161
|
<span class="ruby-identifier">a</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">dup</span>
|
@@ -173,9 +173,9 @@ Returns a complete method declaration with block parameters and all.
|
|
173
173
|
</div>
|
174
174
|
|
175
175
|
<div class="method">
|
176
|
-
<div class="title" id="
|
176
|
+
<div class="title" id="M000058">
|
177
177
|
|
178
|
-
<a name="
|
178
|
+
<a name="M000058"></a><b>full_name</b>()
|
179
179
|
|
180
180
|
</div>
|
181
181
|
|
@@ -191,12 +191,12 @@ Returns the fully qualified name of this method.
|
|
191
191
|
|
192
192
|
<div class="sourcecode">
|
193
193
|
<p class="source-link">
|
194
|
-
Source: <a href="javascript:toggleSource('
|
194
|
+
Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
|
195
195
|
|
196
196
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L95" target="_blank" class="github_url">on GitHub</a>
|
197
197
|
|
198
198
|
</p>
|
199
|
-
<div id="
|
199
|
+
<div id="M000058_source" class="dyn-source">
|
200
200
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 95</span>
|
201
201
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">full_name</span>
|
202
202
|
[<span class="ruby-identifier">parent</span>.<span class="ruby-identifier">full_name</span>, <span class="ruby-identifier">name</span>].<span class="ruby-identifier">join</span>(<span class="ruby-identifier">singleton</span> <span class="ruby-value">? </span><span class="ruby-value str">'::'</span> <span class="ruby-operator">:</span> <span class="ruby-value str">'#'</span>)
|
@@ -207,9 +207,9 @@ Returns the fully qualified name of this method.
|
|
207
207
|
</div>
|
208
208
|
|
209
209
|
<div class="method">
|
210
|
-
<div class="title" id="
|
210
|
+
<div class="title" id="M000061">
|
211
211
|
|
212
|
-
<a name="
|
212
|
+
<a name="M000061"></a><b>top_level</b>()
|
213
213
|
|
214
214
|
</div>
|
215
215
|
|
@@ -226,12 +226,12 @@ contains this method.
|
|
226
226
|
|
227
227
|
<div class="sourcecode">
|
228
228
|
<p class="source-link">
|
229
|
-
Source: <a href="javascript:toggleSource('
|
229
|
+
Source: <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show</a>
|
230
230
|
|
231
231
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L123" target="_blank" class="github_url">on GitHub</a>
|
232
232
|
|
233
233
|
</p>
|
234
|
-
<div id="
|
234
|
+
<div id="M000061_source" class="dyn-source">
|
235
235
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 123</span>
|
236
236
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">top_level</span>
|
237
237
|
<span class="ruby-identifier">n</span> = <span class="ruby-identifier">parent</span>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
|
52
52
|
<li><a href="#M000052">all_classes</a>,</li>
|
53
53
|
|
54
|
-
<li><a href="#
|
54
|
+
<li><a href="#M000054">all_methods</a>,</li>
|
55
55
|
|
56
56
|
<li><a href="#M000053">all_modules</a></li>
|
57
57
|
|
@@ -62,9 +62,9 @@
|
|
62
62
|
<dd>
|
63
63
|
<ul>
|
64
64
|
|
65
|
-
<li><a href="#
|
65
|
+
<li><a href="#M000056">parse</a>,</li>
|
66
66
|
|
67
|
-
<li><a href="#
|
67
|
+
<li><a href="#M000057">parse_file</a></li>
|
68
68
|
|
69
69
|
</ul>
|
70
70
|
</dd>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
<dd>
|
74
74
|
<ul>
|
75
75
|
|
76
|
-
<li><a href="#
|
76
|
+
<li><a href="#M000055">refresh_all_classes_and_modules</a></li>
|
77
77
|
|
78
78
|
</ul>
|
79
79
|
</dd>
|
@@ -129,9 +129,9 @@ Returns an array of all classes recorded thus far.
|
|
129
129
|
</div>
|
130
130
|
|
131
131
|
<div class="method">
|
132
|
-
<div class="title" id="
|
132
|
+
<div class="title" id="M000054">
|
133
133
|
|
134
|
-
<a name="
|
134
|
+
<a name="M000054"></a><b>all_methods</b>()
|
135
135
|
|
136
136
|
</div>
|
137
137
|
|
@@ -148,12 +148,12 @@ representing all methods recorded thus far.
|
|
148
148
|
|
149
149
|
<div class="sourcecode">
|
150
150
|
<p class="source-link">
|
151
|
-
Source: <a href="javascript:toggleSource('
|
151
|
+
Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
|
152
152
|
|
153
153
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L31" target="_blank" class="github_url">on GitHub</a>
|
154
154
|
|
155
155
|
</p>
|
156
|
-
<div id="
|
156
|
+
<div id="M000054_source" class="dyn-source">
|
157
157
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 31</span>
|
158
158
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_methods</span>
|
159
159
|
<span class="ruby-identifier">all_classes_and_modules</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">method_list</span> }.<span class="ruby-identifier">flatten</span>
|
@@ -198,9 +198,9 @@ Returns an array of all modules recorded thus far.
|
|
198
198
|
</div>
|
199
199
|
|
200
200
|
<div class="method">
|
201
|
-
<div class="title" id="
|
201
|
+
<div class="title" id="M000056">
|
202
202
|
|
203
|
-
<a name="
|
203
|
+
<a name="M000056"></a><b>parse</b>(code_string, file_name = __FILE__)
|
204
204
|
|
205
205
|
</div>
|
206
206
|
|
@@ -226,12 +226,12 @@ string! :-(
|
|
226
226
|
|
227
227
|
<div class="sourcecode">
|
228
228
|
<p class="source-link">
|
229
|
-
Source: <a href="javascript:toggleSource('
|
229
|
+
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
|
230
230
|
|
231
231
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L65" target="_blank" class="github_url">on GitHub</a>
|
232
232
|
|
233
233
|
</p>
|
234
|
-
<div id="
|
234
|
+
<div id="M000056_source" class="dyn-source">
|
235
235
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 65</span>
|
236
236
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">code_string</span>, <span class="ruby-identifier">file_name</span> = <span class="ruby-keyword kw">__FILE__</span>
|
237
237
|
<span class="ruby-identifier">tl</span> = <span class="ruby-constant">TopLevel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_name</span>)
|
@@ -250,9 +250,9 @@ string! :-(
|
|
250
250
|
</div>
|
251
251
|
|
252
252
|
<div class="method">
|
253
|
-
<div class="title" id="
|
253
|
+
<div class="title" id="M000057">
|
254
254
|
|
255
|
-
<a name="
|
255
|
+
<a name="M000057"></a><b>parse_file</b>(file_name)
|
256
256
|
|
257
257
|
</div>
|
258
258
|
|
@@ -277,12 +277,12 @@ extension. Otherwise, <a href="../RDoc.html">RDoc</a> will ignore the file!
|
|
277
277
|
|
278
278
|
<div class="sourcecode">
|
279
279
|
<p class="source-link">
|
280
|
-
Source: <a href="javascript:toggleSource('
|
280
|
+
Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
|
281
281
|
|
282
282
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L86" target="_blank" class="github_url">on GitHub</a>
|
283
283
|
|
284
284
|
</p>
|
285
|
-
<div id="
|
285
|
+
<div id="M000057_source" class="dyn-source">
|
286
286
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 86</span>
|
287
287
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse_file</span> <span class="ruby-identifier">file_name</span>
|
288
288
|
<span class="ruby-identifier">parse</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file_name</span>), <span class="ruby-identifier">file_name</span>
|
@@ -293,9 +293,9 @@ extension. Otherwise, <a href="../RDoc.html">RDoc</a> will ignore the file!
|
|
293
293
|
</div>
|
294
294
|
|
295
295
|
<div class="method">
|
296
|
-
<div class="title" id="
|
296
|
+
<div class="title" id="M000055">
|
297
297
|
|
298
|
-
<a name="
|
298
|
+
<a name="M000055"></a><b>refresh_all_classes_and_modules</b>()
|
299
299
|
|
300
300
|
</div>
|
301
301
|
|
@@ -312,12 +312,12 @@ Update the return value of the all_classes_and_modules() method to
|
|
312
312
|
|
313
313
|
<div class="sourcecode">
|
314
314
|
<p class="source-link">
|
315
|
-
Source: <a href="javascript:toggleSource('
|
315
|
+
Source: <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show</a>
|
316
316
|
|
317
317
|
| <a href="http://github.com/sunaku/erbook/blob/ef112a9767fa7e4c9b5f535ec992d1a1fd52a4ea/lib/erbook/rdoc.rb#L39" target="_blank" class="github_url">on GitHub</a>
|
318
318
|
|
319
319
|
</p>
|
320
|
-
<div id="
|
320
|
+
<div id="M000055_source" class="dyn-source">
|
321
321
|
<pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 39</span>
|
322
322
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">refresh_all_classes_and_modules</span>
|
323
323
|
<span class="ruby-identifier">visit</span> = <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
|