wwwjdic 13.0.0 → 16.0.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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +63 -1
  3. data/Gemfile +9 -1
  4. data/README.md +499 -225
  5. data/Rakefile +12 -3
  6. data/copyright.md +17 -29
  7. data/examples/basics.rb +55 -45
  8. data/examples/translate.rb +161 -86
  9. data/examples/uri.rb +50 -78
  10. data/html/CHANGELOG.html +80 -21
  11. data/html/COPYING_md.html +13 -24
  12. data/html/Gemfile.html +12 -21
  13. data/html/Object.html +810 -45
  14. data/html/README_md.html +309 -161
  15. data/html/Rakefile.html +15 -24
  16. data/html/WWWJDic.html +41 -81
  17. data/html/WWWJDic/ParsableDuckType.html +15 -34
  18. data/html/WWWJDic/Parser.html +25 -64
  19. data/html/WWWJDic/Parsers.html +8 -13
  20. data/html/WWWJDic/Parsers/Dict.html +29 -54
  21. data/html/WWWJDic/Parsers/Display.html +24 -47
  22. data/html/WWWJDic/Parsers/Key.html +25 -48
  23. data/html/WWWJDic/Parsers/Search.html +19 -38
  24. data/html/WWWJDic/Parsers/Server.html +24 -47
  25. data/html/WWWJDic/Splitter.html +49 -142
  26. data/html/WWWJDic/Utils.html +9 -14
  27. data/html/WWWJDic/Utils/Downloader.html +8 -13
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +29 -63
  29. data/html/WWWJDic/Utils/Raisers.html +21 -72
  30. data/html/WWWJDic/WWWJDic.html +131 -312
  31. data/html/copyright_md.html +206 -225
  32. data/html/created.rid +33 -58
  33. data/html/css/rdoc.css +35 -6
  34. data/html/index.html +301 -169
  35. data/html/js/darkfish.js +22 -99
  36. data/html/js/navigation.js +4 -40
  37. data/html/js/navigation.js.gz +0 -0
  38. data/html/js/search.js +32 -31
  39. data/html/js/search_index.js +1 -1
  40. data/html/js/search_index.js.gz +0 -0
  41. data/html/js/searcher.js +6 -6
  42. data/html/js/searcher.js.gz +0 -0
  43. data/html/table_of_contents.html +160 -197
  44. data/lib/wwwjdic.rb +16 -15
  45. data/lib/wwwjdic/application.rb +69 -36
  46. data/lib/wwwjdic/constants.rb +48 -10
  47. data/lib/wwwjdic/locales/de.yml +9 -4
  48. data/lib/wwwjdic/locales/en.yml +9 -4
  49. data/lib/wwwjdic/locales/es.yml +9 -4
  50. data/lib/wwwjdic/locales/fr.yml +9 -4
  51. data/lib/wwwjdic/locales/hu.yml +9 -4
  52. data/lib/wwwjdic/locales/it.yml +9 -4
  53. data/lib/wwwjdic/locales/ja.yml +11 -5
  54. data/lib/wwwjdic/locales/nl.yml +9 -4
  55. data/lib/wwwjdic/locales/ru.yml +9 -4
  56. data/lib/wwwjdic/locales/sl.yml +9 -4
  57. data/lib/wwwjdic/locales/sv.yml +9 -4
  58. data/lib/wwwjdic/parser.rb +15 -8
  59. data/lib/wwwjdic/parsers/dict.rb +13 -8
  60. data/lib/wwwjdic/parsers/display.rb +10 -3
  61. data/lib/wwwjdic/parsers/key.rb +11 -3
  62. data/lib/wwwjdic/parsers/search.rb +12 -3
  63. data/lib/wwwjdic/parsers/server.rb +10 -3
  64. data/lib/wwwjdic/utils/downloader.rb +27 -30
  65. data/lib/wwwjdic/utils/raisers.rb +14 -15
  66. data/lib/wwwjdic/utils/splitter.rb +33 -18
  67. data/lib/wwwjdic/version.rb +28 -20
  68. data/test/test_helper.rb +12 -1
  69. data/test/test_wwwjdic.rb +12 -4
  70. data/test/wwwjdic/locales/de.yml +9 -1
  71. data/test/wwwjdic/locales/en.yml +9 -1
  72. data/test/wwwjdic/locales/es.yml +9 -1
  73. data/test/wwwjdic/locales/fr.yml +9 -1
  74. data/test/wwwjdic/locales/hu.yml +9 -1
  75. data/test/wwwjdic/locales/it.yml +10 -1
  76. data/test/wwwjdic/locales/ja.yml +11 -2
  77. data/test/wwwjdic/locales/nl.yml +9 -1
  78. data/test/wwwjdic/locales/ru.yml +9 -1
  79. data/test/wwwjdic/locales/sl.yml +9 -1
  80. data/test/wwwjdic/locales/sv.yml +9 -1
  81. data/test/wwwjdic/locales/test_locales.rb +43 -24
  82. data/test/wwwjdic/parsers/test_dict.rb +67 -37
  83. data/test/wwwjdic/parsers/test_display.rb +13 -5
  84. data/test/wwwjdic/parsers/test_key.rb +12 -4
  85. data/test/wwwjdic/parsers/test_server.rb +13 -5
  86. data/test/wwwjdic/test_application.rb +201 -149
  87. data/test/wwwjdic/test_parsable_duck_type.rb +11 -6
  88. data/test/wwwjdic/utils/test_downloader.rb +9 -1
  89. data/test/wwwjdic/utils/test_raisers.rb +48 -29
  90. data/wwwjdic.gemspec +46 -26
  91. metadata +55 -43
  92. data/acknowledgements.md +0 -55
  93. data/authors.md +0 -67
  94. data/html/acknowledgements_md.html +0 -149
  95. data/html/authors_md.html +0 -181
  96. data/html/js/jquery.js +0 -4
  97. data/html/wwwjdic_gemspec.html +0 -161
data/html/Rakefile.html CHANGED
@@ -4,22 +4,23 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Rakefile - wwwjdic 13.0.0</title>
7
+ <title>Rakefile - wwwjdic 16.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
11
11
  var index_rel_prefix = "./";
12
12
  </script>
13
13
 
14
- <script src="./js/jquery.js"></script>
15
- <script src="./js/darkfish.js"></script>
14
+ <script src="./js/navigation.js" defer></script>
15
+ <script src="./js/search.js" defer></script>
16
+ <script src="./js/search_index.js" defer></script>
17
+ <script src="./js/searcher.js" defer></script>
18
+ <script src="./js/darkfish.js" defer></script>
16
19
 
17
20
  <link href="./css/fonts.css" rel="stylesheet">
18
21
  <link href="./css/rdoc.css" rel="stylesheet">
19
22
 
20
23
 
21
-
22
-
23
24
  <body id="top" role="document" class="file">
24
25
  <nav role="navigation">
25
26
  <div id="project-navigation">
@@ -55,29 +56,17 @@
55
56
 
56
57
 
57
58
  <div id="project-metadata">
58
- <div id="fileindex-section" class="nav-section">
59
+
60
+ <div id="fileindex-section" class="nav-section">
59
61
  <h3>Pages</h3>
60
62
 
61
63
  <ul class="link-list">
62
-
63
64
  <li><a href="./CHANGELOG.html">CHANGELOG</a>
64
-
65
65
  <li><a href="./COPYING_md.html">COPYING</a>
66
-
67
66
  <li><a href="./Gemfile.html">Gemfile</a>
68
-
69
67
  <li><a href="./README_md.html">README</a>
70
-
71
68
  <li><a href="./Rakefile.html">Rakefile</a>
72
-
73
- <li><a href="./acknowledgements_md.html">acknowledgements</a>
74
-
75
- <li><a href="./authors_md.html">authors</a>
76
-
77
69
  <li><a href="./copyright_md.html">copyright</a>
78
-
79
- <li><a href="./wwwjdic_gemspec.html">wwwjdic.gemspec</a>
80
-
81
70
  </ul>
82
71
  </div>
83
72
 
@@ -86,7 +75,9 @@
86
75
 
87
76
  <main role="main" aria-label="Page Rakefile">
88
77
 
89
- <p># wwwjdic # Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part of wwwjdic. # # wwwjdic is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # wwwjdic is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with wwwjdic. If not, see &lt;<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/&gt;.</p>
78
+ <p># frozen_string_literal: true</p>
79
+
80
+ <p># wwwjdic # rubocop:disable Style/AsciiComments # © 2014 Marco Bresciani # rubocop:enable Style/AsciiComments # # This file is part of wwwjdic. # # wwwjdic is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # wwwjdic is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with wwwjdic. If not, see &lt;<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/&gt;. # # SPDX-FileCopyrightText: 2014 Marco Bresciani # # SPDX-&lt;span&gt;&lt;/span&gt;License-Identifier: GPL-3.0-or-later #++</p>
90
81
 
91
82
  <p>require &#39;rake&#39; require &#39;rake/clean&#39; require &#39;rake/testtask&#39; require &#39;rdoc/task&#39; require &#39;rubygems/package_task&#39;</p>
92
83
 
@@ -108,9 +99,9 @@
108
99
  <p>desc “Build the RDoc gem documentation (task &#39;rake rdoc&#39;)” Rake::RDocTask.new do |rdoc|</p>
109
100
 
110
101
  <pre class="ruby"><span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">rdoc_files</span>.<span class="ruby-identifier">add</span> <span class="ruby-identifier">wwwjdic</span>.<span class="ruby-identifier">files</span>
111
- <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">title</span> = <span class="ruby-identifier">wwwjdic</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">+</span> <span class="ruby-string">&#39; &#39;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">wwwjdic</span>.<span class="ruby-identifier">version</span>.<span class="ruby-identifier">to_s</span>
102
+ <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">title</span> = <span class="ruby-node">&quot;#{wwwjdic.name} #{wwwjdic.version}&quot;</span>
112
103
  <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">main</span> = <span class="ruby-string">&#39;README.md&#39;</span>
113
- <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">options</span> <span class="ruby-operator">+=</span> <span class="ruby-node">%w(-e UTF-8 --hyperlink-all --line-numbers)</span>
104
+ <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">options</span> <span class="ruby-operator">+=</span> <span class="ruby-node">%w[-e UTF-8 --hyperlink-all --line-numbers]</span>
114
105
  </pre>
115
106
 
116
107
  <p>end</p>
@@ -118,7 +109,7 @@
118
109
  <p>desc “Run the gem unit tests (task &#39;rake test&#39;)” Rake::TestTask.new do |test_task|</p>
119
110
 
120
111
  <pre class="ruby"><span class="ruby-identifier">test_task</span>.<span class="ruby-identifier">libs</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">&#39;test&#39;</span>
121
- <span class="ruby-identifier">test_task</span>.<span class="ruby-identifier">test_files</span> = <span class="ruby-constant">FileList</span>[<span class="ruby-string">&#39;test /test_*.rb&#39;</span>]
112
+ <span class="ruby-identifier">test_task</span>.<span class="ruby-identifier">test_files</span> = <span class="ruby-constant">FileList</span>[<span class="ruby-string">&#39;test/**/test_*.rb&#39;</span>]
122
113
  <span class="ruby-identifier">test_task</span>.<span class="ruby-identifier">verbose</span> = <span class="ruby-keyword">true</span>
123
114
  <span class="ruby-identifier">test_task</span>.<span class="ruby-identifier">warning</span> = <span class="ruby-keyword">true</span>
124
115
  </pre>
@@ -131,7 +122,7 @@
131
122
 
132
123
  <footer id="validator-badges" role="contentinfo">
133
124
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
134
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
125
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
135
126
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
136
127
  </footer>
137
128
 
data/html/WWWJDic.html CHANGED
@@ -4,22 +4,23 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic - wwwjdic 13.0.0</title>
7
+ <title>module WWWJDic - wwwjdic 16.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
11
11
  var index_rel_prefix = "./";
12
12
  </script>
13
13
 
14
- <script src="./js/jquery.js"></script>
15
- <script src="./js/darkfish.js"></script>
14
+ <script src="./js/navigation.js" defer></script>
15
+ <script src="./js/search.js" defer></script>
16
+ <script src="./js/search_index.js" defer></script>
17
+ <script src="./js/searcher.js" defer></script>
18
+ <script src="./js/darkfish.js" defer></script>
16
19
 
17
20
  <link href="./css/fonts.css" rel="stylesheet">
18
21
  <link href="./css/rdoc.css" rel="stylesheet">
19
22
 
20
23
 
21
-
22
-
23
24
  <body id="top" role="document" class="module">
24
25
  <nav role="navigation">
25
26
  <div id="project-navigation">
@@ -59,14 +60,14 @@
59
60
 
60
61
 
61
62
 
62
- <!-- Method Quickref -->
63
+
64
+ <!-- Method Quickref -->
63
65
  <div id="method-list-section" class="nav-section">
64
66
  <h3>Methods</h3>
65
67
 
66
68
  <ul class="link-list" role="directory">
67
-
68
69
  <li ><a href="#method-c-breener">::breener</a>
69
-
70
+ <li ><a href="#method-c-parser">::parser</a>
70
71
  </ul>
71
72
  </div>
72
73
 
@@ -84,7 +85,7 @@
84
85
  <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
85
86
  </dd><dt>Copyright
86
87
  <dd>
87
- <p>Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani</p>
88
+ <p>(C) 2014 Marco Bresciani</p>
88
89
  </dd><dt>License
89
90
  <dd>
90
91
  <p>GNU General Public License version 3</p>
@@ -92,61 +93,31 @@
92
93
 
93
94
  </section>
94
95
 
95
-
96
96
  <section id="5Buntitled-5D" class="documentation-section">
97
-
98
97
 
99
-
100
98
 
101
-
102
99
  <section class="constants-list">
103
100
  <header>
104
101
  <h3>Constants</h3>
105
102
  </header>
106
103
  <dl>
107
-
108
104
  <dt id="ALLOWED_PARAMS">ALLOWED_PARAMS
109
-
110
105
  <dd><p>Allowed parameters for configuration</p>
111
-
112
-
113
106
  <dt id="ALL_PARAMS">ALL_PARAMS
114
-
115
107
  <dd><p>All parameters for configuration</p>
116
-
117
-
118
108
  <dt id="AVAIL_LANGS">AVAIL_LANGS
119
-
120
109
  <dd><p>Numeric codes for language-specific dictionaries</p>
121
-
122
-
123
110
  <dt id="DICTIONARY_CODES">DICTIONARY_CODES
124
-
125
111
  <dd><p>Numeric codes for dictionaries usage</p>
126
-
127
-
128
112
  <dt id="DICTIONARY_NAMES">DICTIONARY_NAMES
129
-
130
113
  <dd><p>Naming for all supported dictionaries</p>
131
-
132
-
133
114
  <dt id="DICTS_BY_CODES">DICTS_BY_CODES
134
-
135
115
  <dd><p>Mapping between dictionaries names with codes</p>
136
-
137
-
138
116
  <dt id="DICTS_BY_NAMES">DICTS_BY_NAMES
139
-
140
117
  <dd><p>Mapping between dictionaries codes with names</p>
141
-
142
-
143
118
  <dt id="DISPLAY">DISPLAY
144
-
145
119
  <dd><p>Display modes</p>
146
-
147
-
148
120
  <dt id="KANJIDIC_CODES">KANJIDIC_CODES
149
-
150
121
  <dd><p>KANJIDIC letter codes (see <a href="http://www.edrdg.org/kanjidic/kanjidic.html">www.edrdg.org/kanjidic/kanjidic.html</a>)</p>
151
122
  <dl class="rdoc-list label-list"><dt>U
152
123
  <dd>
@@ -218,10 +189,7 @@
218
189
  <dd>
219
190
  <p>the PinYin (Chinese) pronunciation(s) of the kanji;</p>
220
191
  </dd></dl>
221
-
222
-
223
192
  <dt id="KEYS">KEYS
224
-
225
193
  <dd><p>k is the key type:</p>
226
194
 
227
195
  <pre>for dictionary lookups
@@ -252,59 +220,34 @@
252
220
  <pre>for example sentence lookups using a regular expression, use E</pre>
253
221
 
254
222
  <p>for EUC, ISO-2022-JP or UCS, S for Shift_JIS and U for UTF-8, followed by the search string. Up to 99 example sentences may be displayed.</p>
255
-
256
-
257
223
  <dt id="TEST_REFERENCE_URI">TEST_REFERENCE_URI
258
-
259
224
  <dd><p>Example basic URI (profile part) for testing purposes.</p>
260
-
261
-
262
225
  <dt id="URIS">URIS
263
-
264
226
  <dd><p>URIs for Backdoor Entry/API</p>
265
-
266
-
267
227
  <dt id="URI_DEFAULT">URI_DEFAULT
268
-
269
228
  <dd><p>Reference URI for Backdoor Entry/API</p>
270
-
271
-
272
229
  <dt id="URI_OLD">URI_OLD
273
-
274
230
  <dd><p>Monash URI for Backdoor Entry/API</p>
275
-
276
-
277
231
  <dt id="VERSION">VERSION
278
-
279
232
  <dd><p>Current version number for <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> gem.</p>
280
-
281
-
282
233
  </dl>
283
234
  </section>
284
-
285
235
 
286
-
287
236
 
288
-
237
+
289
238
  <section id="public-class-5Buntitled-5D-method-details" class="method-section">
290
239
  <header>
291
240
  <h3>Public Class Methods</h3>
292
241
  </header>
293
242
 
294
-
295
243
  <div id="method-c-breener" class="method-detail ">
296
-
297
244
  <div class="method-heading">
298
245
  <span class="method-name">breener</span><span
299
246
  class="method-args">()</span>
300
-
301
247
  <span class="method-click-advice">click to toggle source</span>
302
-
303
248
  </div>
304
-
305
249
 
306
250
  <div class="method-description">
307
-
308
251
  <p>Creates a new <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> object (from the verb &#39;to Breen&#39;… :) ).</p>
309
252
  <dl class="rdoc-list note-list"><dt>Usage
310
253
  <dd><ul><li>
@@ -314,35 +257,52 @@
314
257
  <dd>
315
258
  <p>a <code>WWWJDic</code> object.</p>
316
259
  </dd></dl>
317
-
318
-
319
260
 
320
-
321
261
  <div class="method-source-code" id="breener-source">
322
262
  <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
323
- <span class="line-num">41</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">breener</span>
324
- <span class="line-num">42</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
325
- <span class="line-num">43</span> <span class="ruby-keyword">end</span></pre>
263
+ <span class="line-num">46</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">breener</span>
264
+ <span class="line-num">47</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
265
+ <span class="line-num">48</span> <span class="ruby-keyword">end</span></pre>
266
+ </div>
267
+ </div>
268
+
269
+
270
+ </div>
271
+
272
+ <div id="method-c-parser" class="method-detail ">
273
+ <div class="method-heading">
274
+ <span class="method-name">parser</span><span
275
+ class="method-args">()</span>
276
+ <span class="method-click-advice">click to toggle source</span>
277
+ </div>
278
+
279
+ <div class="method-description">
280
+ <p>Provides the parameters&#39; parsers object.</p>
281
+
282
+ <div class="method-source-code" id="parser-source">
283
+ <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
284
+ <span class="line-num">51</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parser</span>
285
+ <span class="line-num">52</span> <span class="ruby-identifier">parsers</span> = { <span class="ruby-value">dict:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Dict</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">display:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Display</span>.<span class="ruby-identifier">new</span>,
286
+ <span class="line-num">53</span> <span class="ruby-value">key:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Key</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value">search:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Search</span>.<span class="ruby-identifier">new</span>,
287
+ <span class="line-num">54</span> <span class="ruby-value">server:</span> <span class="ruby-constant">Parsers</span><span class="ruby-operator">::</span><span class="ruby-constant">Server</span>.<span class="ruby-identifier">new</span> }
288
+ <span class="line-num">55</span>
289
+ <span class="line-num">56</span> <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">parsers</span>
290
+ <span class="line-num">57</span> <span class="ruby-keyword">end</span></pre>
326
291
  </div>
327
-
328
292
  </div>
329
293
 
330
-
331
294
 
332
-
333
295
  </div>
334
296
 
335
-
336
297
  </section>
337
-
338
- </section>
339
298
 
299
+ </section>
340
300
  </main>
341
301
 
342
302
 
343
303
  <footer id="validator-badges" role="contentinfo">
344
304
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
345
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
305
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
346
306
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
347
307
  </footer>
348
308
 
@@ -4,22 +4,23 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic::ParsableDuckType - wwwjdic 13.0.0</title>
7
+ <title>module WWWJDic::ParsableDuckType - wwwjdic 16.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
11
11
  var index_rel_prefix = "../";
12
12
  </script>
13
13
 
14
- <script src="../js/jquery.js"></script>
15
- <script src="../js/darkfish.js"></script>
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
16
19
 
17
20
  <link href="../css/fonts.css" rel="stylesheet">
18
21
  <link href="../css/rdoc.css" rel="stylesheet">
19
22
 
20
23
 
21
-
22
-
23
24
  <body id="top" role="document" class="module">
24
25
  <nav role="navigation">
25
26
  <div id="project-navigation">
@@ -59,14 +60,13 @@
59
60
 
60
61
 
61
62
 
62
- <!-- Method Quickref -->
63
+
64
+ <!-- Method Quickref -->
63
65
  <div id="method-list-section" class="nav-section">
64
66
  <h3>Methods</h3>
65
67
 
66
68
  <ul class="link-list" role="directory">
67
-
68
69
  <li ><a href="#method-i-test_parsable_duck_type">#test_parsable_duck_type</a>
69
-
70
70
  </ul>
71
71
  </div>
72
72
 
@@ -86,7 +86,7 @@
86
86
  <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
87
87
  </dd><dt>Copyright
88
88
  <dd>
89
- <p>Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani</p>
89
+ <p>Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani</p>
90
90
  </dd><dt>License
91
91
  <dd>
92
92
  <p>GNU General Public License version 3</p>
@@ -94,66 +94,47 @@
94
94
 
95
95
  </section>
96
96
 
97
-
98
97
  <section id="5Buntitled-5D" class="documentation-section">
99
-
100
98
 
101
-
102
99
 
103
-
104
100
 
105
-
106
101
 
107
-
102
+
108
103
  <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
109
104
  <header>
110
105
  <h3>Public Instance Methods</h3>
111
106
  </header>
112
107
 
113
-
114
108
  <div id="method-i-test_parsable_duck_type" class="method-detail ">
115
-
116
109
  <div class="method-heading">
117
110
  <span class="method-name">test_parsable_duck_type</span><span
118
111
  class="method-args">()</span>
119
-
120
112
  <span class="method-click-advice">click to toggle source</span>
121
-
122
113
  </div>
123
-
124
114
 
125
115
  <div class="method-description">
126
-
127
116
  <p>The method that tests the parsable duck type interface and its <code>parse</code> method.</p>
128
-
129
-
130
117
 
131
-
132
118
  <div class="method-source-code" id="test_parsable_duck_type-source">
133
119
  <pre> <span class="ruby-comment"># File test/wwwjdic/test_parsable_duck_type.rb</span>
134
- <span class="line-num">33</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">test_parsable_duck_type</span>
135
- <span class="line-num">34</span> <span class="ruby-identifier">subject</span>.<span class="ruby-identifier">must_respond_to</span> <span class="ruby-value">:parse</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">subject</span>.<span class="ruby-identifier">nil?</span>
136
- <span class="line-num">35</span> <span class="ruby-keyword">end</span></pre>
120
+ <span class="line-num">38</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">test_parsable_duck_type</span>
121
+ <span class="line-num">39</span> <span class="ruby-identifier">_</span>(<span class="ruby-identifier">subject</span>).<span class="ruby-identifier">must_respond_to</span> <span class="ruby-value">:parse</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">subject</span>.<span class="ruby-identifier">nil?</span>
122
+ <span class="line-num">40</span> <span class="ruby-keyword">end</span></pre>
137
123
  </div>
138
-
139
124
  </div>
140
125
 
141
-
142
126
 
143
-
144
127
  </div>
145
128
 
146
-
147
129
  </section>
148
-
149
- </section>
150
130
 
131
+ </section>
151
132
  </main>
152
133
 
153
134
 
154
135
  <footer id="validator-badges" role="contentinfo">
155
136
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
156
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.1.
137
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
157
138
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
158
139
  </footer>
159
140