erbook 7.0.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/CREDITS +3 -0
  2. data/bin/erbook +2 -2
  3. data/doc/HelloWorld.input +1 -1
  4. data/doc/api/classes/ERBook/Document.html +153 -150
  5. data/doc/api/classes/ERBook/Document/Node.html +7 -7
  6. data/doc/api/classes/ERBook/Template.html +24 -24
  7. data/doc/api/classes/ERBook/Template/Sandbox.html +6 -6
  8. data/doc/api/classes/RDoc/AnyMethod.html +32 -28
  9. data/doc/api/classes/RDoc/TopLevel.html +47 -47
  10. data/doc/api/classes/String.html +14 -14
  11. data/doc/api/created.rid +1 -1
  12. data/doc/api/files/CREDITS.html +68 -0
  13. data/doc/api/files/lib/erbook/document_rb.html +1 -3
  14. data/doc/api/files/lib/erbook/rdoc_rb.html +1 -1
  15. data/doc/api/files/lib/erbook/template_rb.html +1 -1
  16. data/doc/api/files/lib/erbook/to_xhtml_rb.html +3 -3
  17. data/doc/api/files/lib/erbook_rb.html +3 -1
  18. data/doc/api/panel/search_index.js +1 -1
  19. data/doc/api/panel/tree.js +1 -1
  20. data/doc/formats.erb +129 -8
  21. data/doc/history.erb +136 -2
  22. data/doc/index.erb +2 -2
  23. data/doc/index.xhtml +1867 -610
  24. data/doc/intro.erb +29 -13
  25. data/doc/setup.erb +9 -2
  26. data/doc/theory.erb +24 -3
  27. data/doc/usage.erb +11 -2
  28. data/fmt/xhtml.yaml +913 -707
  29. data/fmt/{xhtml.icons → xhtml/icons}/index.yaml +2 -2
  30. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/COPYING +0 -0
  31. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/README +0 -0
  32. data/fmt/{xhtml.icons → xhtml/icons}/mediawiki-1.13.2/skins/simple/external.png +0 -0
  33. data/fmt/{xhtml.icons → xhtml/icons}/rakefile +4 -6
  34. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/16x16/places/start-here.png +0 -0
  35. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-next.png +0 -0
  36. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/32x32/actions/go-previous.png +0 -0
  37. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/places/start-here.png +0 -0
  38. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/32x32/status/software-update-available.png +0 -0
  39. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/accessories-text-editor.png +0 -0
  40. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/apps/internet-group-chat.png +0 -0
  41. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/emblems/emblem-important.png +0 -0
  42. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-error.png +0 -0
  43. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-information.png +0 -0
  44. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/48x48/status/dialog-warning.png +0 -0
  45. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/COPYING +0 -0
  46. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/README +0 -0
  47. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/bookmark-new.svg +0 -0
  48. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/go-home.svg +0 -0
  49. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-next.svg +191 -0
  50. data/fmt/xhtml/icons/tango-icon-theme-0.8.90/scalable/actions/go-previous.svg +852 -0
  51. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/actions/view-refresh.svg +0 -0
  52. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/accessories-text-editor.svg +0 -0
  53. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/apps/internet-group-chat.svg +0 -0
  54. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-favorite.svg +0 -0
  55. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/emblems/emblem-important.svg +0 -0
  56. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/mimetypes/application-certificate.svg +0 -0
  57. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/places/start-here.svg +0 -0
  58. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-error.svg +0 -0
  59. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-information.svg +0 -0
  60. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/dialog-warning.svg +0 -0
  61. data/fmt/{xhtml.icons → xhtml/icons}/tango-icon-theme-0.8.90/scalable/status/software-update-available.svg +0 -0
  62. data/fmt/xhtml/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  63. data/fmt/xhtml/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  64. data/fmt/xhtml/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  65. data/fmt/xhtml/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  66. data/fmt/xhtml/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  67. data/fmt/xhtml/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  68. data/fmt/xhtml/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  69. data/fmt/xhtml/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  70. data/fmt/xhtml/jquery/images/ui-icons_222222_256x240.png +0 -0
  71. data/fmt/xhtml/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  72. data/fmt/xhtml/jquery/images/ui-icons_454545_256x240.png +0 -0
  73. data/fmt/xhtml/jquery/images/ui-icons_888888_256x240.png +0 -0
  74. data/fmt/xhtml/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  75. data/fmt/{xhtml.scripts → xhtml/jquery}/jquery-1.3.2.min.js +0 -0
  76. data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.css +406 -0
  77. data/fmt/xhtml/jquery/jquery-ui-1.7.2.custom.min.js +43 -0
  78. data/lang/de.yaml +13 -2
  79. data/lang/el.yaml +13 -2
  80. data/lang/es.yaml +13 -2
  81. data/lang/fr.yaml +13 -2
  82. data/lang/it.yaml +13 -2
  83. data/lang/ja.yaml +13 -2
  84. data/lang/ko.yaml +13 -2
  85. data/lang/nl.yaml +13 -2
  86. data/lang/phrases.yaml +15 -4
  87. data/lang/pt.yaml +13 -2
  88. data/lang/ru.yaml +13 -2
  89. data/lang/zh.yaml +13 -2
  90. data/lang/zt.yaml +13 -2
  91. data/lib/erbook.rb +10 -8
  92. data/lib/erbook/document.rb +144 -139
  93. data/lib/erbook/rdoc.rb +29 -7
  94. data/lib/erbook/template.rb +2 -2
  95. data/lib/erbook/to_xhtml.rb +6 -2
  96. metadata +78 -45
  97. data/doc/api/files/ANN_eml.html +0 -276
  98. data/doc/api/files/ANN_html.html +0 -407
  99. data/doc/api/files/ANN_txt.html +0 -271
  100. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-down.png +0 -0
  101. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/32x32/actions/go-up.png +0 -0
  102. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-down.svg +0 -200
  103. data/fmt/xhtml.icons/tango-icon-theme-0.8.90/scalable/actions/go-up.svg +0 -196
  104. data/fmt/xhtml.scripts/jquery.localscroll-1.2.7-min.js +0 -9
  105. data/fmt/xhtml.scripts/jquery.scrollTo-1.4.1-min.js +0 -11
@@ -56,7 +56,7 @@ Environment for template evaluation.
56
56
  <dd>
57
57
  <ul>
58
58
 
59
- <li><a href="#M000038">__block_content__</a></li>
59
+ <li><a href="#M000045">__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="M000038">
81
+ <div class="title" id="M000045">
82
82
 
83
- <a name="M000038"></a><b>__block_content__</b>(*block_args)
83
+ <a name="M000045"></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('M000038_source')" id="l_M000038_source">show</a>
101
+ Source: <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show</a>
102
102
 
103
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/template.rb#L100" target="_blank" class="github_url">on GitHub</a>
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="M000038_source" class="dyn-source">
106
+ <div id="M000045_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="#M000053">comment_html</a></li>
52
+ <li><a href="#M000059">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="#M000052">decl</a></li>
61
+ <li><a href="#M000058">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="#M000051">full_name</a></li>
70
+ <li><a href="#M000057">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="#M000054">top_level</a></li>
79
+ <li><a href="#M000060">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="M000053">
101
+ <div class="title" id="M000059">
102
102
 
103
- <a name="M000053"></a><b>comment_html</b>()
103
+ <a name="M000059"></a><b>comment_html</b>()
104
104
 
105
105
  </div>
106
106
 
@@ -116,13 +116,13 @@ Returns a HTML version of this method&#8217;s comment.
116
116
 
117
117
  <div class="sourcecode">
118
118
  <p class="source-link">
119
- Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
119
+ Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
120
120
 
121
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L98" target="_blank" class="github_url">on GitHub</a>
121
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L116" target="_blank" class="github_url">on GitHub</a>
122
122
 
123
123
  </p>
124
- <div id="M000053_source" class="dyn-source">
125
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 98</span>
124
+ <div id="M000059_source" class="dyn-source">
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>
128
128
  <span class="ruby-keyword kw">end</span></pre>
@@ -132,9 +132,9 @@ Returns a HTML version of this method&#8217;s comment.
132
132
  </div>
133
133
 
134
134
  <div class="method">
135
- <div class="title" id="M000052">
135
+ <div class="title" id="M000058">
136
136
 
137
- <a name="M000052"></a><b>decl</b>()
137
+ <a name="M000058"></a><b>decl</b>()
138
138
 
139
139
  </div>
140
140
 
@@ -150,19 +150,21 @@ 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('M000052_source')" id="l_M000052_source">show</a>
153
+ Source: <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show</a>
154
154
 
155
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L88" target="_blank" class="github_url">on GitHub</a>
155
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L102" target="_blank" class="github_url">on GitHub</a>
156
156
 
157
157
  </p>
158
- <div id="M000052_source" class="dyn-source">
159
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 88</span>
158
+ <div id="M000058_source" class="dyn-source">
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>
162
+
162
163
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">b</span> = <span class="ruby-identifier">block_params</span>
163
164
  <span class="ruby-identifier">a</span>.<span class="ruby-identifier">sub!</span> <span class="ruby-regexp re">%r/\s*\#.*(?=.$)/</span>, <span class="ruby-value str">''</span> <span class="ruby-comment cmt"># remove &quot;# :yields: ...&quot; string</span>
164
165
  <span class="ruby-identifier">a</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot; {|#{b}| ... }&quot;</span>
165
166
  <span class="ruby-keyword kw">end</span>
167
+
166
168
  <span class="ruby-identifier">full_name</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">a</span>
167
169
  <span class="ruby-keyword kw">end</span></pre>
168
170
  </div>
@@ -171,9 +173,9 @@ Returns a complete method declaration with block parameters and all.
171
173
  </div>
172
174
 
173
175
  <div class="method">
174
- <div class="title" id="M000051">
176
+ <div class="title" id="M000057">
175
177
 
176
- <a name="M000051"></a><b>full_name</b>()
178
+ <a name="M000057"></a><b>full_name</b>()
177
179
 
178
180
  </div>
179
181
 
@@ -189,13 +191,13 @@ Returns the fully qualified name of this method.
189
191
 
190
192
  <div class="sourcecode">
191
193
  <p class="source-link">
192
- Source: <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show</a>
194
+ Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
193
195
 
194
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L83" target="_blank" class="github_url">on GitHub</a>
196
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L95" target="_blank" class="github_url">on GitHub</a>
195
197
 
196
198
  </p>
197
- <div id="M000051_source" class="dyn-source">
198
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 83</span>
199
+ <div id="M000057_source" class="dyn-source">
200
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 95</span>
199
201
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">full_name</span>
200
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>)
201
203
  <span class="ruby-keyword kw">end</span></pre>
@@ -205,9 +207,9 @@ Returns the fully qualified name of this method.
205
207
  </div>
206
208
 
207
209
  <div class="method">
208
- <div class="title" id="M000054">
210
+ <div class="title" id="M000060">
209
211
 
210
- <a name="M000054"></a><b>top_level</b>()
212
+ <a name="M000060"></a><b>top_level</b>()
211
213
 
212
214
  </div>
213
215
 
@@ -224,18 +226,20 @@ contains this method.
224
226
 
225
227
  <div class="sourcecode">
226
228
  <p class="source-link">
227
- Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
229
+ Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
228
230
 
229
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L103" target="_blank" class="github_url">on GitHub</a>
231
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L123" target="_blank" class="github_url">on GitHub</a>
230
232
 
231
233
  </p>
232
- <div id="M000054_source" class="dyn-source">
233
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 103</span>
234
+ <div id="M000060_source" class="dyn-source">
235
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 123</span>
234
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">top_level</span>
235
237
  <span class="ruby-identifier">n</span> = <span class="ruby-identifier">parent</span>
238
+
236
239
  <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>
237
240
  <span class="ruby-identifier">n</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span>
238
241
  <span class="ruby-keyword kw">end</span>
242
+
239
243
  <span class="ruby-identifier">n</span>
240
244
  <span class="ruby-keyword kw">end</span></pre>
241
245
  </div>
@@ -49,11 +49,11 @@
49
49
  <dd>
50
50
  <ul>
51
51
 
52
- <li><a href="#M000045">all_classes</a>,</li>
52
+ <li><a href="#M000051">all_classes</a>,</li>
53
53
 
54
- <li><a href="#M000047">all_methods</a>,</li>
54
+ <li><a href="#M000053">all_methods</a>,</li>
55
55
 
56
- <li><a href="#M000046">all_modules</a></li>
56
+ <li><a href="#M000052">all_modules</a></li>
57
57
 
58
58
  </ul>
59
59
  </dd>
@@ -62,9 +62,9 @@
62
62
  <dd>
63
63
  <ul>
64
64
 
65
- <li><a href="#M000049">parse</a>,</li>
65
+ <li><a href="#M000055">parse</a>,</li>
66
66
 
67
- <li><a href="#M000050">parse_file</a></li>
67
+ <li><a href="#M000056">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="#M000048">refresh_all_classes_and_modules</a></li>
76
+ <li><a href="#M000054">refresh_all_classes_and_modules</a></li>
77
77
 
78
78
  </ul>
79
79
  </dd>
@@ -95,9 +95,9 @@
95
95
  <div class="sectiontitle">Class Public methods</div>
96
96
 
97
97
  <div class="method">
98
- <div class="title" id="M000045">
98
+ <div class="title" id="M000051">
99
99
 
100
- <a name="M000045"></a><b>all_classes</b>()
100
+ <a name="M000051"></a><b>all_classes</b>()
101
101
 
102
102
  </div>
103
103
 
@@ -113,13 +113,13 @@ Returns an array of all classes recorded thus far.
113
113
 
114
114
  <div class="sourcecode">
115
115
  <p class="source-link">
116
- Source: <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show</a>
116
+ Source: <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show</a>
117
117
 
118
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L14" target="_blank" class="github_url">on GitHub</a>
118
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L16" target="_blank" class="github_url">on GitHub</a>
119
119
 
120
120
  </p>
121
- <div id="M000045_source" class="dyn-source">
122
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 14</span>
121
+ <div id="M000051_source" class="dyn-source">
122
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 16</span>
123
123
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_classes</span>
124
124
  <span class="ruby-ivar">@all_classes</span>.<span class="ruby-identifier">values</span>
125
125
  <span class="ruby-keyword kw">end</span></pre>
@@ -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="M000047">
132
+ <div class="title" id="M000053">
133
133
 
134
- <a name="M000047"></a><b>all_methods</b>()
134
+ <a name="M000053"></a><b>all_methods</b>()
135
135
 
136
136
  </div>
137
137
 
@@ -148,13 +148,13 @@ 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('M000047_source')" id="l_M000047_source">show</a>
151
+ Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
152
152
 
153
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L25" target="_blank" class="github_url">on GitHub</a>
153
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L31" target="_blank" class="github_url">on GitHub</a>
154
154
 
155
155
  </p>
156
- <div id="M000047_source" class="dyn-source">
157
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 25</span>
156
+ <div id="M000053_source" class="dyn-source">
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>
160
160
  <span class="ruby-keyword kw">end</span></pre>
@@ -164,9 +164,9 @@ representing all methods recorded thus far.
164
164
  </div>
165
165
 
166
166
  <div class="method">
167
- <div class="title" id="M000046">
167
+ <div class="title" id="M000052">
168
168
 
169
- <a name="M000046"></a><b>all_modules</b>()
169
+ <a name="M000052"></a><b>all_modules</b>()
170
170
 
171
171
  </div>
172
172
 
@@ -182,13 +182,13 @@ Returns an array of all modules recorded thus far.
182
182
 
183
183
  <div class="sourcecode">
184
184
  <p class="source-link">
185
- Source: <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show</a>
185
+ Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
186
186
 
187
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L19" target="_blank" class="github_url">on GitHub</a>
187
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L23" target="_blank" class="github_url">on GitHub</a>
188
188
 
189
189
  </p>
190
- <div id="M000046_source" class="dyn-source">
191
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 19</span>
190
+ <div id="M000052_source" class="dyn-source">
191
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 23</span>
192
192
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">all_modules</span>
193
193
  <span class="ruby-ivar">@all_modules</span>.<span class="ruby-identifier">values</span>
194
194
  <span class="ruby-keyword kw">end</span></pre>
@@ -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="M000049">
201
+ <div class="title" id="M000055">
202
202
 
203
- <a name="M000049"></a><b>parse</b>(aCodeString, aFileName = __FILE__)
203
+ <a name="M000055"></a><b>parse</b>(code_string, file_name = __FILE__)
204
204
 
205
205
  </div>
206
206
 
@@ -226,19 +226,19 @@ string! :-(
226
226
 
227
227
  <div class="sourcecode">
228
228
  <p class="source-link">
229
- Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
229
+ Source: <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show</a>
230
230
 
231
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L56" target="_blank" class="github_url">on GitHub</a>
231
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L65" target="_blank" class="github_url">on GitHub</a>
232
232
 
233
233
  </p>
234
- <div id="M000049_source" class="dyn-source">
235
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 56</span>
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">aCodeString</span>, <span class="ruby-identifier">aFileName</span> = <span class="ruby-keyword kw">__FILE__</span>
237
- <span class="ruby-identifier">tl</span> = <span class="ruby-constant">TopLevel</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">aFileName</span>)
234
+ <div id="M000055_source" class="dyn-source">
235
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 65</span>
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
+ <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>)
238
238
  <span class="ruby-identifier">op</span> = <span class="ruby-constant">DummyOptions</span>.<span class="ruby-identifier">new</span>
239
239
  <span class="ruby-identifier">st</span> = <span class="ruby-constant">Stats</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span>)
240
240
 
241
- <span class="ruby-identifier">result</span> = <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">for</span>(<span class="ruby-identifier">tl</span>, <span class="ruby-identifier">aFileName</span>, <span class="ruby-identifier">aCodeString</span>, <span class="ruby-identifier">op</span>, <span class="ruby-identifier">st</span>).<span class="ruby-identifier">scan</span>
241
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">for</span>(<span class="ruby-identifier">tl</span>, <span class="ruby-identifier">file_name</span>, <span class="ruby-identifier">code_string</span>, <span class="ruby-identifier">op</span>, <span class="ruby-identifier">st</span>).<span class="ruby-identifier">scan</span>
242
242
 
243
243
  <span class="ruby-identifier">refresh_all_classes_and_modules</span>
244
244
 
@@ -250,9 +250,9 @@ string! :-(
250
250
  </div>
251
251
 
252
252
  <div class="method">
253
- <div class="title" id="M000050">
253
+ <div class="title" id="M000056">
254
254
 
255
- <a name="M000050"></a><b>parse_file</b>(aFileName)
255
+ <a name="M000056"></a><b>parse_file</b>(file_name)
256
256
 
257
257
  </div>
258
258
 
@@ -277,15 +277,15 @@ 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('M000050_source')" id="l_M000050_source">show</a>
280
+ Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
281
281
 
282
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L76" target="_blank" class="github_url">on GitHub</a>
282
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L86" target="_blank" class="github_url">on GitHub</a>
283
283
 
284
284
  </p>
285
- <div id="M000050_source" class="dyn-source">
286
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 76</span>
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">aFileName</span>
288
- <span class="ruby-identifier">parse</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">aFileName</span>), <span class="ruby-identifier">aFileName</span>
285
+ <div id="M000056_source" class="dyn-source">
286
+ <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 86</span>
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
+ <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>
289
289
  <span class="ruby-keyword kw">end</span></pre>
290
290
  </div>
291
291
  </div>
@@ -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="M000048">
296
+ <div class="title" id="M000054">
297
297
 
298
- <a name="M000048"></a><b>refresh_all_classes_and_modules</b>()
298
+ <a name="M000054"></a><b>refresh_all_classes_and_modules</b>()
299
299
 
300
300
  </div>
301
301
 
@@ -312,13 +312,13 @@ 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('M000048_source')" id="l_M000048_source">show</a>
315
+ Source: <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show</a>
316
316
 
317
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/rdoc.rb#L31" target="_blank" class="github_url">on GitHub</a>
317
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/rdoc.rb#L39" target="_blank" class="github_url">on GitHub</a>
318
318
 
319
319
  </p>
320
- <div id="M000048_source" class="dyn-source">
321
- <pre><span class="ruby-comment cmt"># File lib/erbook/rdoc.rb, line 31</span>
320
+ <div id="M000054_source" class="dyn-source">
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>
324
324
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">NormalClass</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">SingleClass</span>
@@ -49,9 +49,9 @@
49
49
  <dd>
50
50
  <ul>
51
51
 
52
- <li><a href="#M000036">to_inline_xhtml</a>,</li>
52
+ <li><a href="#M000039">to_inline_xhtml</a>,</li>
53
53
 
54
- <li><a href="#M000037">to_xhtml</a></li>
54
+ <li><a href="#M000040">to_xhtml</a></li>
55
55
 
56
56
  </ul>
57
57
  </dd>
@@ -112,9 +112,9 @@ throughout the text-to-XHTML conversion process.
112
112
  <div class="sectiontitle">Instance Public methods</div>
113
113
 
114
114
  <div class="method">
115
- <div class="title" id="M000036">
115
+ <div class="title" id="M000039">
116
116
 
117
- <a name="M000036"></a><b>to_inline_xhtml</b>()
117
+ <a name="M000039"></a><b>to_inline_xhtml</b>()
118
118
 
119
119
  </div>
120
120
 
@@ -131,13 +131,13 @@ not contain any block-level XHTML elements at the root).
131
131
 
132
132
  <div class="sourcecode">
133
133
  <p class="source-link">
134
- Source: <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show</a>
134
+ Source: <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show</a>
135
135
 
136
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/to_xhtml.rb#L46" target="_blank" class="github_url">on GitHub</a>
136
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/to_xhtml.rb#L50" target="_blank" class="github_url">on GitHub</a>
137
137
 
138
138
  </p>
139
- <div id="M000036_source" class="dyn-source">
140
- <pre><span class="ruby-comment cmt"># File lib/erbook/to_xhtml.rb, line 46</span>
139
+ <div id="M000039_source" class="dyn-source">
140
+ <pre><span class="ruby-comment cmt"># File lib/erbook/to_xhtml.rb, line 50</span>
141
141
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_inline_xhtml</span>
142
142
  <span class="ruby-identifier">to_xhtml</span> <span class="ruby-keyword kw">true</span>
143
143
  <span class="ruby-keyword kw">end</span></pre>
@@ -147,9 +147,9 @@ not contain any block-level XHTML elements at the root).
147
147
  </div>
148
148
 
149
149
  <div class="method">
150
- <div class="title" id="M000037">
150
+ <div class="title" id="M000040">
151
151
 
152
- <a name="M000037"></a><b>to_xhtml</b>(inline = false)
152
+ <a name="M000040"></a><b>to_xhtml</b>(inline = false)
153
153
 
154
154
  </div>
155
155
 
@@ -172,13 +172,13 @@ at the root.
172
172
 
173
173
  <div class="sourcecode">
174
174
  <p class="source-link">
175
- Source: <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show</a>
175
+ Source: <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show</a>
176
176
 
177
- | <a href="http://github.com/sunaku/erbook/blob/a096a4140d3d9ea230c89aba50526af5e4613f82/lib/erbook/to_xhtml.rb#L58" target="_blank" class="github_url">on GitHub</a>
177
+ | <a href="http://github.com/sunaku/erbook/blob/9c3f6ad5c94f67d3f20e896873dbc7b127036c44/lib/erbook/to_xhtml.rb#L62" target="_blank" class="github_url">on GitHub</a>
178
178
 
179
179
  </p>
180
- <div id="M000037_source" class="dyn-source">
181
- <pre><span class="ruby-comment cmt"># File lib/erbook/to_xhtml.rb, line 58</span>
180
+ <div id="M000040_source" class="dyn-source">
181
+ <pre><span class="ruby-comment cmt"># File lib/erbook/to_xhtml.rb, line 62</span>
182
182
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_xhtml</span> <span class="ruby-identifier">inline</span> = <span class="ruby-keyword kw">false</span>
183
183
  <span class="ruby-identifier">with_protected_tags</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-constant">VERBATIM_TAGS</span>, <span class="ruby-keyword kw">true</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">text</span><span class="ruby-operator">|</span>
184
184
  <span class="ruby-identifier">html</span> = <span class="ruby-identifier">with_protected_tags</span>(<span class="ruby-identifier">text</span>, <span class="ruby-constant">PROTECTED_TAGS</span>, <span class="ruby-keyword kw">false</span>) <span class="ruby-keyword kw">do</span>