structured_warnings 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +200 -0
  3. data/lib/{structured_warnings/dynamic.rb → dynamic.rb} +0 -0
  4. data/lib/structured_warnings.rb +19 -9
  5. data/lib/structured_warnings/base.rb +132 -0
  6. data/lib/structured_warnings/kernel.rb +5 -65
  7. data/lib/structured_warnings/minitest.rb +5 -0
  8. data/lib/structured_warnings/test.rb +3 -5
  9. data/lib/structured_warnings/test/assertions.rb +93 -98
  10. data/lib/structured_warnings/test/warner.rb +32 -35
  11. data/lib/structured_warnings/test_unit.rb +5 -0
  12. data/lib/structured_warnings/version.rb +3 -0
  13. data/lib/structured_warnings/warner.rb +13 -11
  14. data/lib/structured_warnings/warning.rb +61 -119
  15. data/lib/warning.rb +9 -0
  16. metadata +53 -92
  17. data/Gemfile +0 -3
  18. data/Gemfile.lock +0 -21
  19. data/History.txt +0 -36
  20. data/License.txt +0 -20
  21. data/README.rdoc +0 -137
  22. data/Rakefile +0 -55
  23. data/doc/DeprecatedMethodWarning.html +0 -105
  24. data/doc/DeprecatedSignatureWarning.html +0 -106
  25. data/doc/DeprecationWarning.html +0 -106
  26. data/doc/Dynamic.html +0 -125
  27. data/doc/Object.html +0 -117
  28. data/doc/README_rdoc.html +0 -283
  29. data/doc/StandardWarning.html +0 -104
  30. data/doc/StructuredWarnings.html +0 -125
  31. data/doc/StructuredWarnings/ClassMethods.html +0 -192
  32. data/doc/StructuredWarnings/Kernel.html +0 -222
  33. data/doc/StructuredWarnings/Test.html +0 -97
  34. data/doc/StructuredWarnings/Test/Assertions.html +0 -272
  35. data/doc/StructuredWarnings/Test/Warner.html +0 -208
  36. data/doc/StructuredWarnings/Warner.html +0 -162
  37. data/doc/Test.html +0 -95
  38. data/doc/Test/Unit.html +0 -95
  39. data/doc/Warning.html +0 -398
  40. data/doc/Warning/ClassMethods.html +0 -278
  41. data/doc/created.rid +0 -10
  42. data/doc/css/fonts.css +0 -167
  43. data/doc/css/rdoc.css +0 -590
  44. data/doc/fonts/Lato-Light.ttf +0 -0
  45. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  46. data/doc/fonts/Lato-Regular.ttf +0 -0
  47. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  48. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  49. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  50. data/doc/images/add.png +0 -0
  51. data/doc/images/arrow_up.png +0 -0
  52. data/doc/images/brick.png +0 -0
  53. data/doc/images/brick_link.png +0 -0
  54. data/doc/images/bug.png +0 -0
  55. data/doc/images/bullet_black.png +0 -0
  56. data/doc/images/bullet_toggle_minus.png +0 -0
  57. data/doc/images/bullet_toggle_plus.png +0 -0
  58. data/doc/images/date.png +0 -0
  59. data/doc/images/delete.png +0 -0
  60. data/doc/images/find.png +0 -0
  61. data/doc/images/loadingAnimation.gif +0 -0
  62. data/doc/images/macFFBgHack.png +0 -0
  63. data/doc/images/package.png +0 -0
  64. data/doc/images/page_green.png +0 -0
  65. data/doc/images/page_white_text.png +0 -0
  66. data/doc/images/page_white_width.png +0 -0
  67. data/doc/images/plugin.png +0 -0
  68. data/doc/images/ruby.png +0 -0
  69. data/doc/images/tag_blue.png +0 -0
  70. data/doc/images/tag_green.png +0 -0
  71. data/doc/images/transparent.png +0 -0
  72. data/doc/images/wrench.png +0 -0
  73. data/doc/images/wrench_orange.png +0 -0
  74. data/doc/images/zoom.png +0 -0
  75. data/doc/index.html +0 -121
  76. data/doc/js/darkfish.js +0 -161
  77. data/doc/js/jquery.js +0 -4
  78. data/doc/js/navigation.js +0 -142
  79. data/doc/js/navigation.js.gz +0 -0
  80. data/doc/js/search.js +0 -109
  81. data/doc/js/search_index.js +0 -1
  82. data/doc/js/search_index.js.gz +0 -0
  83. data/doc/js/searcher.js +0 -228
  84. data/doc/js/searcher.js.gz +0 -0
  85. data/doc/table_of_contents.html +0 -200
  86. data/structured_warnings.gemspec +0 -24
  87. data/test/structured_warnings_test.rb +0 -187
@@ -1,283 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>README - structured_warnings</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "./";
11
- </script>
12
-
13
- <script src="./js/jquery.js"></script>
14
- <script src="./js/darkfish.js"></script>
15
-
16
- <link href="./css/fonts.css" rel="stylesheet">
17
- <link href="./css/rdoc.css" rel="stylesheet">
18
-
19
-
20
-
21
- <body id="top" role="document" class="file">
22
- <nav role="navigation">
23
- <div id="project-navigation">
24
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
- <h2>
26
- <a href="./index.html" rel="home">Home</a>
27
- </h2>
28
-
29
- <div id="table-of-contents-navigation">
30
- <a href="./table_of_contents.html#pages">Pages</a>
31
- <a href="./table_of_contents.html#classes">Classes</a>
32
- <a href="./table_of_contents.html#methods">Methods</a>
33
- </div>
34
- </div>
35
-
36
- <div id="search-section" role="search" class="project-section initially-hidden">
37
- <form action="#" method="get" accept-charset="utf-8">
38
- <div id="search-field-wrapper">
39
- <input id="search-field" role="combobox" aria-label="Search"
40
- aria-autocomplete="list" aria-controls="search-results"
41
- type="text" name="search" placeholder="Search" spellcheck="false"
42
- title="Type to search, Up and Down to navigate, Enter to load">
43
- </div>
44
-
45
- <ul id="search-results" aria-label="Search Results"
46
- aria-busy="false" aria-expanded="false"
47
- aria-atomic="false" class="initially-hidden"></ul>
48
- </form>
49
- </div>
50
-
51
- </div>
52
-
53
-
54
- <div class="nav-section">
55
- <h3>Table of Contents</h3>
56
-
57
- <ul class="link-list" role="directory">
58
- <li><a href="#label-Structured+Warnings">Structured Warnings</a>
59
- <li><a href="#label-Installation+-26+Compatibility">Installation &amp; Compatibility</a>
60
- <li><a href="#label-Example+Usage">Example Usage</a>
61
- <li><a href="#label-Detailed+Documentation">Detailed Documentation</a>
62
- <li><a href="#label-Resources">Resources</a>
63
- <li><a href="#label-How+to+submit+patches">How to submit patches</a>
64
- <li><a href="#label-Known+Issues">Known Issues</a>
65
- <li><a href="#label-License">License</a>
66
- </ul>
67
- </div>
68
-
69
-
70
- <div id="project-metadata">
71
- <div id="fileindex-section" class="nav-section">
72
- <h3>Pages</h3>
73
-
74
- <ul class="link-list">
75
-
76
- <li><a href="./README_rdoc.html">README</a>
77
-
78
- </ul>
79
- </div>
80
-
81
- </div>
82
- </nav>
83
-
84
- <main role="main" aria-label="Page README.rdoc">
85
-
86
- <h1 id="label-Structured+Warnings">Structured Warnings<span><a href="#label-Structured+Warnings">&para;</a> <a href="#top">&uarr;</a></span></h1>
87
-
88
- <p>This is an implementation of Daniel Berger&#39;s <a
89
- href="http://www.oreillynet.com/ruby/blog/2008/02/structured_warnings_now.html">proposal
90
- of structured warnings for Ruby</a>. They provide dynamic suppression and
91
- activation, as well as, an inheritance hierarchy to model their relations.
92
- This library preserves the old <code>warn</code> signature, but
93
- additionally allows a <code>raise</code>-like use.</p>
94
-
95
- <p>For more information on the usage and benefits of this library have a look
96
- at the inspiring article at O&#39;Reilly.</p>
97
-
98
- <p><a
99
- href="http://www.oreillynet.com/ruby/blog/2008/02/structured_warnings_now.html">www.oreillynet.com/ruby/blog/2008/02/structured_warnings_now.html</a></p>
100
-
101
- <h2 id="label-Installation+-26+Compatibility">Installation &amp; Compatibility<span><a href="#label-Installation+-26+Compatibility">&para;</a> <a href="#top">&uarr;</a></span></h2>
102
-
103
- <pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-identifier">install</span> <span class="ruby-identifier">structured_warnings</span>
104
- </pre>
105
-
106
- <p>structured_warnings works with all interpreters, it was tested with.</p>
107
- <ul><li>
108
- <p>Ruby 1.8-2.2</p>
109
- </li><li>
110
- <p>Rubinius 2.4</p>
111
- </li><li>
112
- <p>JRuby 1.7</p>
113
- </li></ul>
114
-
115
- <p>Please let me know, of any other compatibilities or file a bug for any
116
- incompatibilities.</p>
117
-
118
- <h2 id="label-Example+Usage">Example Usage<span><a href="#label-Example+Usage">&para;</a> <a href="#top">&uarr;</a></span></h2>
119
-
120
- <p>To get you started - here is a short example</p>
121
-
122
- <p>In order to use structured_warnings in library code, use the following
123
- code.</p>
124
-
125
- <pre class="ruby"><span class="ruby-comment"># in lib/...</span>
126
- <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;structured_warnings&#39;</span>
127
-
128
- <span class="ruby-keyword">class</span> <span class="ruby-constant">Foo</span>
129
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">old_method</span>
130
- <span class="ruby-identifier">warn</span> <span class="ruby-constant">DeprecatedMethodWarning</span>, <span class="ruby-string">&#39;This method is deprecated. Use new_method instead&#39;</span>
131
- <span class="ruby-comment"># Do stuff</span>
132
- <span class="ruby-keyword">end</span>
133
- <span class="ruby-keyword">end</span>
134
-
135
- <span class="ruby-comment"># in test/...</span>
136
- <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;test/unit&#39;</span>
137
- <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;structured_warnings&#39;</span>
138
-
139
- <span class="ruby-keyword">class</span> <span class="ruby-constant">FooTests</span> <span class="ruby-operator">&lt;</span> <span class="ruby-constant">Test</span><span class="ruby-operator">::</span><span class="ruby-constant">Unit</span><span class="ruby-operator">::</span><span class="ruby-constant">TestCase</span>
140
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">setup</span>
141
- <span class="ruby-ivar">@foo</span> = <span class="ruby-constant">Foo</span>.<span class="ruby-identifier">new</span>
142
- <span class="ruby-keyword">end</span>
143
-
144
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">test_old_method_emits_deprecation_warning</span>
145
- <span class="ruby-identifier">assert_warn</span>(<span class="ruby-constant">DeprecatedMethodWarning</span>){ <span class="ruby-ivar">@foo</span>.<span class="ruby-identifier">old_method</span> }
146
- <span class="ruby-keyword">end</span>
147
- <span class="ruby-keyword">end</span>
148
- </pre>
149
-
150
- <p><a href="DeprecatedMethodWarning.html">DeprecatedMethodWarning</a> is only
151
- one of multiple predefined warning types. You may add your own types by
152
- subclassing <a href="Warning.html">Warning</a> if you like.</p>
153
-
154
- <p>Client code of your library will look as follows:</p>
155
-
156
- <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&quot;foo&quot;</span>
157
-
158
- <span class="ruby-identifier">foo</span> = <span class="ruby-constant">Foo</span>.<span class="ruby-identifier">new</span>
159
- <span class="ruby-identifier">foo</span>.<span class="ruby-identifier">old_method</span> <span class="ruby-comment"># =&gt; will print</span>
160
- <span class="ruby-comment"># ... `old_method&#39; : This method is deprecated. Use new_method instead (DeprecatedMethodWarning)</span>
161
- </pre>
162
-
163
- <p>But the main difference to the standard warning concept shipped with ruby,
164
- is that the client is able to selectively disable certain warnings s/he is
165
- aware of and not willing to fix.</p>
166
-
167
- <pre class="ruby"><span class="ruby-constant">DeprecatedMethodWarning</span>.<span class="ruby-identifier">disable</span> <span class="ruby-comment"># Globally disable warnings about deprecated methods!</span>
168
-
169
- <span class="ruby-identifier">foo</span>.<span class="ruby-identifier">old_method</span> <span class="ruby-comment"># =&gt; will print nothing</span>
170
-
171
- <span class="ruby-constant">DeprecatedMethodWarning</span>.<span class="ruby-identifier">enable</span> <span class="ruby-comment"># Reenable warnings again.</span>
172
- </pre>
173
-
174
- <p>And there is an even more powerful option for your clients, the can
175
- selectively disable warnings in a dynamic block scope.</p>
176
-
177
- <pre class="ruby"><span class="ruby-comment"># Don&#39;t bug me about deprecated method warnings within this block, I know</span>
178
- <span class="ruby-comment"># what I&#39;m doing.</span>
179
- <span class="ruby-comment">#</span>
180
- <span class="ruby-constant">DeprecatedMethodWarning</span>.<span class="ruby-identifier">disable</span> <span class="ruby-keyword">do</span>
181
- <span class="ruby-identifier">foo</span>.<span class="ruby-identifier">old_method</span>
182
- <span class="ruby-keyword">end</span>
183
- </pre>
184
-
185
- <p>These settings are scoped to the local thread (and all threads spawned in
186
- the block scope) and automatically reset after the block.</p>
187
-
188
- <h2 id="label-Detailed+Documentation">Detailed Documentation<span><a href="#label-Detailed+Documentation">&para;</a> <a href="#top">&uarr;</a></span></h2>
189
-
190
- <p>Have closer look at the RDoc of <a
191
- href="StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a>, <a
192
- href="Warning.html">Warning</a> and <a
193
- href="Warning/ClassMethods.html">Warning::ClassMethods</a>.</p>
194
-
195
- <p>Part of this library is a set of different warnings:</p>
196
- <ul><li>
197
- <p><a href="Warning.html">Warning</a></p>
198
- <ul><li>
199
- <p><a href="StandardWarning.html">StandardWarning</a></p>
200
- </li><li>
201
- <p><a href="DeprecationWarning.html">DeprecationWarning</a></p>
202
- <ul><li>
203
- <p><a href="DeprecatedMethodWarning.html">DeprecatedMethodWarning</a></p>
204
- </li><li>
205
- <p><a href="DeprecatedSignatureWarning.html">DeprecatedSignatureWarning</a></p>
206
- </li></ul>
207
- </li></ul>
208
- </li></ul>
209
-
210
- <p>You are encourage to use your own subclasses of <a
211
- href="Warning.html">Warning</a> to give as much feedback to your users as
212
- possible.</p>
213
-
214
- <h2 id="label-Resources">Resources<span><a href="#label-Resources">&para;</a> <a href="#top">&uarr;</a></span></h2>
215
- <ul><li>
216
- <p><a
217
- href="http://www.oreillynet.com/ruby/blog/2008/02/structured_warnings_now.html">Inspiring
218
- article</a></p>
219
- </li><li>
220
- <p><a
221
- href="http://www.nach-vorne.de/2008/2/22/structured_warnings-highlights">Implementation
222
- Highlights</a></p>
223
- </li><li>
224
- <p><a href="http://github.com/schmidt/structured_warnings/">Project’s
225
- website</a></p>
226
- </li><li>
227
- <p><a href="http://rdoc.info/projects/schmidt/structured_warnings">API doc</a></p>
228
- </li><li>
229
- <p><a href="http://runcoderun.com/schmidt/structured_warnings">Build Status on
230
- RunCodeRun</a></p>
231
- </li></ul>
232
-
233
- <h2 id="label-How+to+submit+patches">How to submit patches<span><a href="#label-How+to+submit+patches">&para;</a> <a href="#top">&uarr;</a></span></h2>
234
-
235
- <p>In order to submit patches, please fork the repository on GitHub, add your
236
- patches to your own copy and send a “Pull Request” afterwards. I will then
237
- try to add your submissions as soon as possible. Patches containing
238
- corresponding tests are always welcome.</p>
239
-
240
- <p>Bug reports or general feature requests should be added using GitHub
241
- Issues.</p>
242
-
243
- <h2 id="label-Known+Issues">Known Issues<span><a href="#label-Known+Issues">&para;</a> <a href="#top">&uarr;</a></span></h2>
244
-
245
- <p>Although the library transparently coorperates with Ruby&#39;s built-in
246
- <code>Kernel#warn</code>, it may not override <code>rb_warn</code> which is
247
- used internally to emit “method redefined”, “void context”, and
248
- “parenthesis” warnings. They may not be manipulated by structured_warnings.</p>
249
-
250
- <h2 id="label-License">License<span><a href="#label-License">&para;</a> <a href="#top">&uarr;</a></span></h2>
251
-
252
- <p>This code is free to use under the terms of the MIT license.</p>
253
-
254
- <pre>Copyright (c) 2008 Gregor Schmidt
255
-
256
- Permission is hereby granted, free of charge, to any person obtaining
257
- a copy of this software and associated documentation files (the
258
- &quot;Software&quot;), to deal in the Software without restriction, including
259
- without limitation the rights to use, copy, modify, merge, publish,
260
- distribute, sublicense, and/or sell copies of the Software, and to
261
- permit persons to whom the Software is furnished to do so, subject to
262
- the following conditions:
263
-
264
- The above copyright notice and this permission notice shall be
265
- included in all copies or substantial portions of the Software.
266
-
267
- THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
268
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
269
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
270
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
271
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
272
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
273
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre>
274
- </main>
275
-
276
-
277
-
278
- <footer id="validator-badges" role="contentinfo">
279
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
280
- <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
281
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
282
- </footer>
283
-
@@ -1,104 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>class StandardWarning - structured_warnings</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "./";
11
- </script>
12
-
13
- <script src="./js/jquery.js"></script>
14
- <script src="./js/darkfish.js"></script>
15
-
16
- <link href="./css/fonts.css" rel="stylesheet">
17
- <link href="./css/rdoc.css" rel="stylesheet">
18
-
19
-
20
-
21
- <body id="top" role="document" class="class">
22
- <nav role="navigation">
23
- <div id="project-navigation">
24
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
- <h2>
26
- <a href="./index.html" rel="home">Home</a>
27
- </h2>
28
-
29
- <div id="table-of-contents-navigation">
30
- <a href="./table_of_contents.html#pages">Pages</a>
31
- <a href="./table_of_contents.html#classes">Classes</a>
32
- <a href="./table_of_contents.html#methods">Methods</a>
33
- </div>
34
- </div>
35
-
36
- <div id="search-section" role="search" class="project-section initially-hidden">
37
- <form action="#" method="get" accept-charset="utf-8">
38
- <div id="search-field-wrapper">
39
- <input id="search-field" role="combobox" aria-label="Search"
40
- aria-autocomplete="list" aria-controls="search-results"
41
- type="text" name="search" placeholder="Search" spellcheck="false"
42
- title="Type to search, Up and Down to navigate, Enter to load">
43
- </div>
44
-
45
- <ul id="search-results" aria-label="Search Results"
46
- aria-busy="false" aria-expanded="false"
47
- aria-atomic="false" class="initially-hidden"></ul>
48
- </form>
49
- </div>
50
-
51
- </div>
52
-
53
-
54
-
55
- <div id="class-metadata">
56
-
57
- <div id="parent-class-section" class="nav-section">
58
- <h3>Parent</h3>
59
-
60
-
61
- <p class="link"><a href="Warning.html">Warning</a>
62
-
63
- </div>
64
-
65
-
66
-
67
-
68
- </div>
69
- </nav>
70
-
71
- <main role="main" aria-labelledby="class-StandardWarning">
72
- <h1 id="class-StandardWarning" class="class">
73
- class StandardWarning
74
- </h1>
75
-
76
- <section class="description">
77
-
78
- <p>This warning is used when calling #Kernel.warn without arguments.</p>
79
-
80
- </section>
81
-
82
-
83
-
84
-
85
- <section id="5Buntitled-5D" class="documentation-section">
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- </section>
96
- </main>
97
-
98
-
99
- <footer id="validator-badges" role="contentinfo">
100
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
101
- <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
102
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
103
- </footer>
104
-
@@ -1,125 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>module StructuredWarnings - structured_warnings</title>
8
-
9
- <script type="text/javascript">
10
- var rdoc_rel_prefix = "./";
11
- </script>
12
-
13
- <script src="./js/jquery.js"></script>
14
- <script src="./js/darkfish.js"></script>
15
-
16
- <link href="./css/fonts.css" rel="stylesheet">
17
- <link href="./css/rdoc.css" rel="stylesheet">
18
-
19
-
20
-
21
- <body id="top" role="document" class="module">
22
- <nav role="navigation">
23
- <div id="project-navigation">
24
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
- <h2>
26
- <a href="./index.html" rel="home">Home</a>
27
- </h2>
28
-
29
- <div id="table-of-contents-navigation">
30
- <a href="./table_of_contents.html#pages">Pages</a>
31
- <a href="./table_of_contents.html#classes">Classes</a>
32
- <a href="./table_of_contents.html#methods">Methods</a>
33
- </div>
34
- </div>
35
-
36
- <div id="search-section" role="search" class="project-section initially-hidden">
37
- <form action="#" method="get" accept-charset="utf-8">
38
- <div id="search-field-wrapper">
39
- <input id="search-field" role="combobox" aria-label="Search"
40
- aria-autocomplete="list" aria-controls="search-results"
41
- type="text" name="search" placeholder="Search" spellcheck="false"
42
- title="Type to search, Up and Down to navigate, Enter to load">
43
- </div>
44
-
45
- <ul id="search-results" aria-label="Search Results"
46
- aria-busy="false" aria-expanded="false"
47
- aria-atomic="false" class="initially-hidden"></ul>
48
- </form>
49
- </div>
50
-
51
- </div>
52
-
53
-
54
-
55
- <div id="class-metadata">
56
-
57
-
58
-
59
- <div id="extends-section" class="nav-section">
60
- <h3>Extended With Modules</h3>
61
-
62
- <ul class="link-list">
63
-
64
-
65
- <li><a class="extend" href="StructuredWarnings/ClassMethods.html">StructuredWarnings::ClassMethods</a>
66
-
67
-
68
- </ul>
69
- </div>
70
-
71
-
72
- </div>
73
- </nav>
74
-
75
- <main role="main" aria-labelledby="module-StructuredWarnings">
76
- <h1 id="module-StructuredWarnings" class="module">
77
- module StructuredWarnings
78
- </h1>
79
-
80
- <section class="description">
81
-
82
- </section>
83
-
84
-
85
-
86
-
87
- <section id="5Buntitled-5D" class="documentation-section">
88
-
89
-
90
-
91
-
92
-
93
- <section class="constants-list">
94
- <header>
95
- <h3>Constants</h3>
96
- </header>
97
- <dl>
98
-
99
- <dt id="disabled_warnings">disabled_warnings
100
-
101
- <dd>
102
-
103
-
104
- <dt id="warner">warner
105
-
106
- <dd>
107
-
108
-
109
- </dl>
110
- </section>
111
-
112
-
113
-
114
-
115
-
116
- </section>
117
- </main>
118
-
119
-
120
- <footer id="validator-badges" role="contentinfo">
121
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
122
- <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
123
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
124
- </footer>
125
-