yard 0.8.7.6 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of yard might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -1
- data/LICENSE +2 -2
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/bin/yard +0 -0
- data/bin/yardoc +0 -0
- data/bin/yri +0 -0
- data/docs/GettingStarted.md +88 -6
- data/docs/images/handlers-class-diagram.png +0 -0
- data/docs/images/overview-class-diagram.png +0 -0
- data/docs/images/parser-class-diagram.png +0 -0
- data/docs/templates/default/fulldoc/html/full_list_tag.erb +6 -4
- data/lib/yard/autoload.rb +3 -0
- data/lib/yard/cli/yardoc.rb +1 -1
- data/lib/yard/code_objects/base.rb +4 -1
- data/lib/yard/code_objects/extra_file_object.rb +3 -1
- data/lib/yard/code_objects/proxy.rb +2 -2
- data/lib/yard/docstring.rb +11 -6
- data/lib/yard/handlers/base.rb +1 -2
- data/lib/yard/handlers/c/base.rb +19 -0
- data/lib/yard/handlers/c/handler_methods.rb +42 -8
- data/lib/yard/handlers/c/init_handler.rb +1 -1
- data/lib/yard/handlers/c/method_handler.rb +3 -3
- data/lib/yard/handlers/ruby/decorator_handler_methods.rb +132 -0
- data/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +1 -1
- data/lib/yard/handlers/ruby/private_class_method_handler.rb +6 -39
- data/lib/yard/handlers/ruby/private_constant_handler.rb +36 -30
- data/lib/yard/handlers/ruby/public_class_method_handler.rb +13 -0
- data/lib/yard/handlers/ruby/struct_handler_methods.rb +1 -0
- data/lib/yard/handlers/ruby/visibility_handler.rb +5 -8
- data/lib/yard/logging.rb +1 -0
- data/lib/yard/parser/ruby/ruby_parser.rb +2 -2
- data/lib/yard/parser/source_parser.rb +6 -6
- data/lib/yard/rake/yardoc_task.rb +2 -2
- data/lib/yard/serializers/file_system_serializer.rb +33 -1
- data/lib/yard/server/commands/display_file_command.rb +8 -3
- data/lib/yard/server/commands/display_object_command.rb +7 -3
- data/lib/yard/server/doc_server_helper.rb +2 -8
- data/lib/yard/server/doc_server_serializer.rb +2 -4
- data/lib/yard/server/router.rb +1 -1
- data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +57 -8
- data/lib/yard/server/templates/default/layout/html/breadcrumb.erb +2 -10
- data/lib/yard/server/templates/default/layout/html/script_setup.erb +1 -2
- data/lib/yard/server/templates/default/method_details/html/permalink.erb +3 -3
- data/lib/yard/server/templates/doc_server/processing/html/processing.erb +4 -4
- data/lib/yard/tags/directives.rb +1 -0
- data/lib/yard/tags/library.rb +9 -7
- data/lib/yard/tags/overload_tag.rb +4 -1
- data/lib/yard/templates/helpers/html_helper.rb +4 -3
- data/lib/yard/templates/template_options.rb +3 -0
- data/lib/yard/version.rb +1 -1
- data/spec/cli/command_parser_spec.rb +14 -14
- data/spec/cli/command_spec.rb +11 -11
- data/spec/cli/config_spec.rb +32 -32
- data/spec/cli/diff_spec.rb +86 -90
- data/spec/cli/display_spec.rb +6 -6
- data/spec/cli/gems_spec.rb +28 -28
- data/spec/cli/graph_spec.rb +8 -8
- data/spec/cli/help_spec.rb +8 -8
- data/spec/cli/i18n_spec.rb +33 -37
- data/spec/cli/list_spec.rb +2 -2
- data/spec/cli/markup_types_spec.rb +3 -3
- data/spec/cli/server_spec.rb +74 -88
- data/spec/cli/stats_spec.rb +14 -14
- data/spec/cli/yardoc_spec.rb +316 -321
- data/spec/cli/yri_spec.rb +45 -45
- data/spec/code_objects/base_spec.rb +174 -173
- data/spec/code_objects/class_object_spec.rb +65 -65
- data/spec/code_objects/code_object_list_spec.rb +13 -11
- data/spec/code_objects/constants_spec.rb +68 -58
- data/spec/code_objects/extra_file_object_spec.rb +71 -59
- data/spec/code_objects/macro_object_spec.rb +64 -64
- data/spec/code_objects/method_object_spec.rb +80 -72
- data/spec/code_objects/module_object_spec.rb +47 -47
- data/spec/code_objects/namespace_object_spec.rb +51 -51
- data/spec/code_objects/proxy_spec.rb +54 -54
- data/spec/config_spec.rb +104 -104
- data/spec/core_ext/array_spec.rb +5 -5
- data/spec/core_ext/file_spec.rb +33 -33
- data/spec/core_ext/hash_spec.rb +5 -5
- data/spec/core_ext/insertion_spec.rb +18 -18
- data/spec/core_ext/module_spec.rb +6 -6
- data/spec/core_ext/string_spec.rb +17 -17
- data/spec/core_ext/symbol_hash_spec.rb +42 -39
- data/spec/docstring_parser_spec.rb +65 -65
- data/spec/docstring_spec.rb +137 -130
- data/spec/handlers/alias_handler_spec.rb +39 -39
- data/spec/handlers/attribute_handler_spec.rb +35 -35
- data/spec/handlers/base_spec.rb +60 -51
- data/spec/handlers/c/alias_handler_spec.rb +6 -6
- data/spec/handlers/c/attribute_handler_spec.rb +12 -12
- data/spec/handlers/c/class_handler_spec.rb +35 -22
- data/spec/handlers/c/constant_handler_spec.rb +24 -22
- data/spec/handlers/c/init_handler_spec.rb +10 -10
- data/spec/handlers/c/method_handler_spec.rb +150 -65
- data/spec/handlers/c/mixin_handler_spec.rb +5 -5
- data/spec/handlers/c/module_handler_spec.rb +27 -15
- data/spec/handlers/c/override_comment_handler_spec.rb +14 -14
- data/spec/handlers/c/path_handler_spec.rb +8 -8
- data/spec/handlers/c/spec_helper.rb +10 -0
- data/spec/handlers/c/struct_handler_spec.rb +3 -3
- data/spec/handlers/class_condition_handler_spec.rb +18 -18
- data/spec/handlers/class_handler_spec.rb +97 -97
- data/spec/handlers/class_method_handler_shared_examples.rb +132 -0
- data/spec/handlers/class_variable_handler_spec.rb +3 -3
- data/spec/handlers/constant_handler_spec.rb +32 -29
- data/spec/handlers/decorator_handler_methods_spec.rb +405 -0
- data/spec/handlers/dsl_handler_spec.rb +108 -109
- data/spec/handlers/examples/constant_handler_001.rb.txt +4 -1
- data/spec/handlers/examples/visibility_handler_001.rb.txt +4 -0
- data/spec/handlers/exception_handler_spec.rb +23 -23
- data/spec/handlers/extend_handler_spec.rb +9 -9
- data/spec/handlers/legacy_base_spec.rb +60 -60
- data/spec/handlers/method_condition_handler_spec.rb +5 -5
- data/spec/handlers/method_handler_spec.rb +92 -92
- data/spec/handlers/mixin_handler_spec.rb +25 -25
- data/spec/handlers/module_function_handler_spec.rb +24 -24
- data/spec/handlers/module_handler_spec.rb +15 -15
- data/spec/handlers/private_class_method_handler_spec.rb +4 -48
- data/spec/handlers/private_constant_handler_spec.rb +8 -8
- data/spec/handlers/processor_spec.rb +12 -12
- data/spec/handlers/public_class_method_handler_spec.rb +10 -0
- data/spec/handlers/ruby/base_spec.rb +16 -16
- data/spec/handlers/ruby/legacy/base_spec.rb +20 -18
- data/spec/handlers/spec_helper.rb +1 -1
- data/spec/handlers/visibility_handler_spec.rb +25 -21
- data/spec/handlers/yield_handler_spec.rb +28 -28
- data/spec/i18n/locale_spec.rb +16 -16
- data/spec/i18n/message_spec.rb +8 -8
- data/spec/i18n/messages_spec.rb +14 -14
- data/spec/i18n/pot_generator_spec.rb +32 -32
- data/spec/i18n/text_spec.rb +22 -22
- data/spec/logging_spec.rb +12 -12
- data/spec/options_spec.rb +56 -56
- data/spec/parser/base_spec.rb +9 -9
- data/spec/parser/c_parser_spec.rb +50 -50
- data/spec/parser/ruby/ast_node_spec.rb +7 -7
- data/spec/parser/ruby/legacy/statement_list_spec.rb +106 -106
- data/spec/parser/ruby/legacy/token_list_spec.rb +27 -27
- data/spec/parser/ruby/ruby_parser_spec.rb +123 -113
- data/spec/parser/source_parser_spec.rb +224 -224
- data/spec/parser/tag_parsing_spec.rb +6 -7
- data/spec/rake/yardoc_task_spec.rb +38 -48
- data/spec/registry_spec.rb +143 -143
- data/spec/registry_store_spec.rb +165 -165
- data/spec/rubygems/doc_manager_spec.rb +38 -38
- data/spec/serializers/file_system_serializer_spec.rb +53 -33
- data/spec/serializers/yardoc_serializer_spec.rb +15 -15
- data/spec/server/adapter_spec.rb +15 -15
- data/spec/server/commands/base_spec.rb +29 -29
- data/spec/server/commands/library_command_spec.rb +12 -12
- data/spec/server/commands/static_file_command_spec.rb +28 -28
- data/spec/server/doc_server_helper_spec.rb +8 -8
- data/spec/server/doc_server_serializer_spec.rb +23 -18
- data/spec/server/rack_adapter_spec.rb +6 -6
- data/spec/server/router_spec.rb +39 -39
- data/spec/server/static_caching_spec.rb +16 -16
- data/spec/server/webrick_servlet_spec.rb +6 -7
- data/spec/server_spec.rb +3 -3
- data/spec/spec_helper.rb +11 -2
- data/spec/tags/default_factory_spec.rb +64 -64
- data/spec/tags/default_tag_spec.rb +5 -5
- data/spec/tags/directives_spec.rb +121 -121
- data/spec/tags/library_spec.rb +14 -14
- data/spec/tags/overload_tag_spec.rb +24 -24
- data/spec/tags/ref_tag_list_spec.rb +12 -12
- data/spec/templates/class_spec.rb +3 -3
- data/spec/templates/constant_spec.rb +4 -4
- data/spec/templates/engine_spec.rb +47 -48
- data/spec/templates/examples/class001.html +129 -101
- data/spec/templates/examples/class002.html +31 -27
- data/spec/templates/examples/method001.html +54 -47
- data/spec/templates/examples/method002.html +33 -28
- data/spec/templates/examples/method003.html +70 -64
- data/spec/templates/examples/method004.html +13 -9
- data/spec/templates/examples/method005.html +38 -32
- data/spec/templates/examples/module001.html +343 -339
- data/spec/templates/examples/module002.html +147 -124
- data/spec/templates/examples/module003.html +94 -81
- data/spec/templates/examples/module004.html +40 -33
- data/spec/templates/helpers/base_helper_spec.rb +91 -95
- data/spec/templates/helpers/html_helper_spec.rb +276 -279
- data/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +16 -15
- data/spec/templates/helpers/markup/rdoc_markup_spec.rb +27 -34
- data/spec/templates/helpers/markup_helper_spec.rb +57 -57
- data/spec/templates/helpers/method_helper_spec.rb +20 -20
- data/spec/templates/helpers/shared_signature_examples.rb +33 -31
- data/spec/templates/helpers/text_helper_spec.rb +6 -6
- data/spec/templates/method_spec.rb +7 -7
- data/spec/templates/module_spec.rb +7 -7
- data/spec/templates/onefile_spec.rb +7 -7
- data/spec/templates/section_spec.rb +66 -69
- data/spec/templates/spec_helper.rb +1 -1
- data/spec/templates/tag_spec.rb +5 -5
- data/spec/templates/template_spec.rb +158 -158
- data/spec/verifier_spec.rb +52 -52
- data/templates/default/fulldoc/html/css/full_list.css +32 -31
- data/templates/default/fulldoc/html/css/style.css +212 -77
- data/templates/default/fulldoc/html/frames.erb +6 -15
- data/templates/default/fulldoc/html/full_list.erb +14 -21
- data/templates/default/fulldoc/html/full_list_class.erb +1 -1
- data/templates/default/fulldoc/html/full_list_file.erb +6 -4
- data/templates/default/fulldoc/html/full_list_method.erb +8 -6
- data/templates/default/fulldoc/html/js/app.js +100 -76
- data/templates/default/fulldoc/html/js/full_list.js +170 -135
- data/templates/default/fulldoc/html/setup.rb +50 -7
- data/templates/default/layout/html/breadcrumb.erb +0 -2
- data/templates/default/layout/html/headers.erb +2 -1
- data/templates/default/layout/html/layout.erb +16 -10
- data/templates/default/layout/html/script_setup.erb +1 -2
- data/templates/default/layout/html/search.erb +7 -2
- data/templates/default/layout/html/setup.rb +16 -0
- data/templates/default/method/html/header.erb +7 -6
- data/templates/default/module/html/attribute_summary.erb +1 -1
- data/templates/default/module/html/box_info.erb +24 -18
- data/templates/default/module/html/constant_summary.erb +9 -11
- data/templates/default/module/html/item_summary.erb +1 -1
- data/templates/default/module/html/method_summary.erb +1 -1
- data/templates/guide/fulldoc/html/setup.rb +1 -1
- data/yard.gemspec +1 -2
- metadata +10 -7
- data/spec/handlers/examples/private_class_method_handler_001.rb.txt +0 -9
- data/spec/handlers/examples/private_class_method_handler_002.rb.txt +0 -18
- data/spec/handlers/examples/private_class_method_handler_003.rb.txt +0 -11
@@ -1,182 +1,196 @@
|
|
1
1
|
<h1>Module: A
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
|
3
|
+
|
4
|
+
|
5
5
|
</h1>
|
6
|
+
<div class="box_info">
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
<dl>
|
19
|
+
<dt>Defined in:</dt>
|
20
|
+
<dd>(stdin)</dd>
|
21
|
+
</dl>
|
22
|
+
|
23
|
+
</div>
|
6
24
|
|
7
|
-
<dl class="box">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
<dt class="r1 last">Defined in:</dt>
|
17
|
-
<dd class="r1 last">(stdin)</dd>
|
18
25
|
|
19
|
-
</dl>
|
20
|
-
<div class="clear"></div>
|
21
26
|
|
22
27
|
|
23
28
|
|
24
|
-
<h2>Foo <small
|
29
|
+
<h2>Foo <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
25
30
|
<ul class="summary">
|
26
|
-
|
31
|
+
|
27
32
|
<li class="public ">
|
28
33
|
<span class="summary_signature">
|
34
|
+
|
35
|
+
<a title="#foo_attr (instance method)">#<strong>foo_attr</strong> </a>
|
36
|
+
|
29
37
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
38
|
+
|
34
39
|
</span>
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
46
52
|
<span class="summary_desc"><div class='inline'>Returns the value of attribute foo_attr.</div></span>
|
47
|
-
|
53
|
+
|
48
54
|
</li>
|
49
55
|
|
50
|
-
|
56
|
+
|
51
57
|
</ul>
|
52
58
|
|
53
59
|
|
54
60
|
|
61
|
+
|
62
|
+
|
55
63
|
<h2>
|
56
64
|
Foo
|
57
|
-
<small
|
65
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
58
66
|
</h2>
|
59
67
|
|
60
68
|
<ul class="summary">
|
61
|
-
|
69
|
+
|
62
70
|
<li class="public ">
|
63
71
|
<span class="summary_signature">
|
72
|
+
|
73
|
+
<a title="bar (class method)">.<strong>bar</strong> </a>
|
74
|
+
|
64
75
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
76
|
+
|
69
77
|
</span>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
78
87
|
<span class="summary_desc"><div class='inline'></div></span>
|
79
|
-
|
88
|
+
|
80
89
|
</li>
|
81
90
|
|
82
|
-
|
91
|
+
|
83
92
|
<li class="public ">
|
84
93
|
<span class="summary_signature">
|
94
|
+
|
95
|
+
<a title="#foo (instance method)">#<strong>foo</strong> </a>
|
96
|
+
|
85
97
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
98
|
+
|
90
99
|
</span>
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
99
109
|
<span class="summary_desc"><div class='inline'></div></span>
|
100
|
-
|
110
|
+
|
101
111
|
</li>
|
102
112
|
|
103
|
-
|
113
|
+
|
104
114
|
</ul>
|
105
|
-
|
115
|
+
|
106
116
|
<h2>
|
107
117
|
Bar
|
108
|
-
<small
|
118
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
109
119
|
</h2>
|
110
120
|
|
111
121
|
<ul class="summary">
|
112
|
-
|
122
|
+
|
113
123
|
<li class="public ">
|
114
124
|
<span class="summary_signature">
|
125
|
+
|
126
|
+
<a title="#baz (instance method)">#<strong>baz</strong> </a>
|
127
|
+
|
115
128
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
129
|
+
|
120
130
|
</span>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
129
140
|
<span class="summary_desc"><div class='inline'></div></span>
|
130
|
-
|
141
|
+
|
131
142
|
</li>
|
132
143
|
|
133
|
-
|
144
|
+
|
134
145
|
</ul>
|
135
|
-
|
146
|
+
|
136
147
|
<h2>
|
137
148
|
Class Method Summary
|
138
|
-
<small
|
149
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
139
150
|
</h2>
|
140
151
|
|
141
152
|
<ul class="summary">
|
142
|
-
|
153
|
+
|
143
154
|
<li class="public ">
|
144
155
|
<span class="summary_signature">
|
156
|
+
|
157
|
+
<a title="baz (class method)">.<strong>baz</strong> </a>
|
158
|
+
|
145
159
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
160
|
+
|
150
161
|
</span>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
159
171
|
<span class="summary_desc"><div class='inline'></div></span>
|
160
|
-
|
172
|
+
|
161
173
|
</li>
|
162
174
|
|
163
|
-
|
175
|
+
|
164
176
|
</ul>
|
165
|
-
|
177
|
+
|
166
178
|
|
167
179
|
|
168
180
|
<div id="instance_attr_details" class="attr_details">
|
169
181
|
<h2>Instance Attribute Details</h2>
|
170
|
-
|
171
|
-
|
182
|
+
|
183
|
+
|
172
184
|
<span id="foo_attr=-instance_method"></span>
|
173
185
|
<div class="method_details first">
|
174
186
|
<h3 class="signature first" id="foo_attr-instance_method">
|
187
|
+
|
188
|
+
#<strong>foo_attr</strong>
|
189
|
+
|
175
190
|
|
176
|
-
|
177
|
-
|
178
|
-
|
191
|
+
|
179
192
|
|
193
|
+
|
180
194
|
</h3><div class="docstring">
|
181
195
|
<div class="discussion">
|
182
196
|
Returns the value of attribute foo_attr
|
@@ -184,6 +198,7 @@
|
|
184
198
|
</div>
|
185
199
|
</div>
|
186
200
|
<div class="tags">
|
201
|
+
|
187
202
|
|
188
203
|
</div><table class="source_code">
|
189
204
|
<tr>
|
@@ -205,21 +220,23 @@ end</pre>
|
|
205
220
|
</tr>
|
206
221
|
</table>
|
207
222
|
</div>
|
208
|
-
|
223
|
+
|
209
224
|
</div>
|
210
225
|
|
211
226
|
|
212
227
|
<div id="class_method_details" class="method_details_list">
|
213
228
|
<h2>Class Method Details</h2>
|
214
229
|
|
215
|
-
|
230
|
+
|
216
231
|
<div class="method_details first">
|
217
232
|
<h3 class="signature first" id="bar-class_method">
|
233
|
+
|
234
|
+
.<strong>bar</strong>
|
235
|
+
|
218
236
|
|
219
|
-
|
220
|
-
|
221
|
-
|
237
|
+
|
222
238
|
|
239
|
+
|
223
240
|
</h3><table class="source_code">
|
224
241
|
<tr>
|
225
242
|
<td>
|
@@ -236,14 +253,16 @@ def self.bar; end</pre>
|
|
236
253
|
</tr>
|
237
254
|
</table>
|
238
255
|
</div>
|
239
|
-
|
256
|
+
|
240
257
|
<div class="method_details ">
|
241
258
|
<h3 class="signature " id="baz-class_method">
|
259
|
+
|
260
|
+
.<strong>baz</strong>
|
261
|
+
|
242
262
|
|
243
|
-
|
244
|
-
|
245
|
-
|
263
|
+
|
246
264
|
|
265
|
+
|
247
266
|
</h3><table class="source_code">
|
248
267
|
<tr>
|
249
268
|
<td>
|
@@ -260,20 +279,22 @@ def self.baz; end</pre>
|
|
260
279
|
</tr>
|
261
280
|
</table>
|
262
281
|
</div>
|
263
|
-
|
282
|
+
|
264
283
|
</div>
|
265
284
|
|
266
285
|
<div id="instance_method_details" class="method_details_list">
|
267
286
|
<h2>Instance Method Details</h2>
|
268
287
|
|
269
|
-
|
288
|
+
|
270
289
|
<div class="method_details first">
|
271
290
|
<h3 class="signature first" id="baz-instance_method">
|
291
|
+
|
292
|
+
#<strong>baz</strong>
|
293
|
+
|
272
294
|
|
273
|
-
|
274
|
-
|
275
|
-
|
295
|
+
|
276
296
|
|
297
|
+
|
277
298
|
</h3><table class="source_code">
|
278
299
|
<tr>
|
279
300
|
<td>
|
@@ -290,14 +311,16 @@ def baz; end</pre>
|
|
290
311
|
</tr>
|
291
312
|
</table>
|
292
313
|
</div>
|
293
|
-
|
314
|
+
|
294
315
|
<div class="method_details ">
|
295
316
|
<h3 class="signature " id="foo-instance_method">
|
317
|
+
|
318
|
+
#<strong>foo</strong>
|
319
|
+
|
296
320
|
|
297
|
-
|
298
|
-
|
299
|
-
|
321
|
+
|
300
322
|
|
323
|
+
|
301
324
|
</h3><table class="source_code">
|
302
325
|
<tr>
|
303
326
|
<td>
|
@@ -314,5 +337,5 @@ def foo; end</pre>
|
|
314
337
|
</tr>
|
315
338
|
</table>
|
316
339
|
</div>
|
317
|
-
|
340
|
+
|
318
341
|
</div>
|
@@ -1,126 +1,137 @@
|
|
1
1
|
<h1>Module: A
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
|
3
|
+
|
4
|
+
|
5
5
|
</h1>
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
6
|
+
<div class="box_info">
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<dl>
|
14
|
+
<dt>Includes:</dt>
|
15
|
+
<dd>B</dd>
|
16
|
+
</dl>
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<dl>
|
24
|
+
<dt>Defined in:</dt>
|
25
|
+
<dd>(stdin)</dd>
|
26
|
+
</dl>
|
27
|
+
|
28
|
+
</div>
|
25
29
|
|
26
30
|
|
27
31
|
<h2>Constant Summary</h2>
|
28
|
-
|
32
|
+
|
29
33
|
<dl class="constants">
|
30
|
-
|
34
|
+
|
31
35
|
<dt id="FOO-constant" class="">FOO =
|
32
|
-
|
36
|
+
|
33
37
|
</dt>
|
34
38
|
<dd><pre class="code">2</pre></dd>
|
35
|
-
|
39
|
+
|
36
40
|
</dl>
|
41
|
+
|
37
42
|
|
38
43
|
|
39
44
|
|
40
45
|
|
41
|
-
|
42
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
46
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
43
47
|
<ul class="summary">
|
44
|
-
|
48
|
+
|
45
49
|
<li class="public ">
|
46
50
|
<span class="summary_signature">
|
51
|
+
|
52
|
+
<a title="#bar (instance method)">#<strong>bar</strong> </a>
|
53
|
+
|
47
54
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
55
|
+
|
52
56
|
</span>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<span class="note title readonly">readonly</span>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
64
71
|
<span class="summary_desc"><div class='inline'>Returns the value of attribute bar.</div></span>
|
65
|
-
|
72
|
+
|
66
73
|
</li>
|
67
74
|
|
68
|
-
|
75
|
+
|
69
76
|
</ul>
|
70
77
|
|
71
78
|
|
72
79
|
|
73
80
|
|
74
|
-
|
81
|
+
|
75
82
|
<h2>
|
76
83
|
Instance Method Summary
|
77
|
-
<small
|
84
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
78
85
|
</h2>
|
79
86
|
|
80
87
|
<ul class="summary">
|
81
|
-
|
88
|
+
|
82
89
|
<li class="public ">
|
83
90
|
<span class="summary_signature">
|
91
|
+
|
92
|
+
<a title="#foo (instance method)">#<strong>foo</strong> </a>
|
93
|
+
|
84
94
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
95
|
+
|
89
96
|
</span>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
98
106
|
<span class="summary_desc"><div class='inline'></div></span>
|
99
|
-
|
107
|
+
|
100
108
|
</li>
|
101
109
|
|
102
|
-
|
110
|
+
|
103
111
|
</ul>
|
112
|
+
|
104
113
|
|
105
114
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
112
121
|
<div id="instance_attr_details" class="attr_details">
|
113
122
|
<h2>Instance Attribute Details</h2>
|
114
|
-
|
115
|
-
|
123
|
+
|
124
|
+
|
116
125
|
<span id=""></span>
|
117
126
|
<div class="method_details first">
|
118
127
|
<h3 class="signature first" id="bar-instance_method">
|
128
|
+
|
129
|
+
#<strong>bar</strong> <span class="extras">(readonly)</span>
|
130
|
+
|
119
131
|
|
120
|
-
|
121
|
-
|
122
|
-
|
132
|
+
|
123
133
|
|
134
|
+
|
124
135
|
</h3><div class="docstring">
|
125
136
|
<div class="discussion">
|
126
137
|
Returns the value of attribute bar
|
@@ -128,7 +139,7 @@
|
|
128
139
|
</div>
|
129
140
|
</div>
|
130
141
|
<div class="tags">
|
131
|
-
|
142
|
+
|
132
143
|
|
133
144
|
</div><table class="source_code">
|
134
145
|
<tr>
|
@@ -150,21 +161,23 @@ end</pre>
|
|
150
161
|
</tr>
|
151
162
|
</table>
|
152
163
|
</div>
|
153
|
-
|
164
|
+
|
154
165
|
</div>
|
155
166
|
|
156
167
|
|
157
168
|
<div id="instance_method_details" class="method_details_list">
|
158
169
|
<h2>Instance Method Details</h2>
|
159
170
|
|
160
|
-
|
171
|
+
|
161
172
|
<div class="method_details first">
|
162
173
|
<h3 class="signature first" id="foo-instance_method">
|
174
|
+
|
175
|
+
#<strong>foo</strong>
|
176
|
+
|
163
177
|
|
164
|
-
|
165
|
-
|
166
|
-
|
178
|
+
|
167
179
|
|
180
|
+
|
168
181
|
</h3><table class="source_code">
|
169
182
|
<tr>
|
170
183
|
<td>
|
@@ -181,5 +194,5 @@ def foo; end</pre>
|
|
181
194
|
</tr>
|
182
195
|
</table>
|
183
196
|
</div>
|
184
|
-
|
197
|
+
|
185
198
|
</div>
|