wwwjdic 14.0.0 → 15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +19 -0
  3. data/Gemfile +5 -1
  4. data/README.md +461 -192
  5. data/Rakefile +7 -2
  6. data/copyright.md +17 -29
  7. data/examples/basics.rb +51 -45
  8. data/examples/translate.rb +135 -86
  9. data/examples/uri.rb +34 -78
  10. data/html/CHANGELOG.html +48 -31
  11. data/html/COPYING_md.html +31 -35
  12. data/html/Gemfile.html +28 -32
  13. data/html/Object.html +71 -71
  14. data/html/README_md.html +326 -159
  15. data/html/Rakefile.html +29 -33
  16. data/html/WWWJDic.html +137 -98
  17. data/html/WWWJDic/ParsableDuckType.html +55 -55
  18. data/html/WWWJDic/Parser.html +88 -88
  19. data/html/WWWJDic/Parsers.html +33 -33
  20. data/html/WWWJDic/Parsers/Dict.html +71 -73
  21. data/html/WWWJDic/Parsers/Display.html +66 -66
  22. data/html/WWWJDic/Parsers/Key.html +67 -67
  23. data/html/WWWJDic/Parsers/Search.html +59 -58
  24. data/html/WWWJDic/Parsers/Server.html +66 -66
  25. data/html/WWWJDic/Splitter.html +173 -172
  26. data/html/WWWJDic/Utils.html +34 -34
  27. data/html/WWWJDic/Utils/Downloader.html +33 -33
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +91 -89
  29. data/html/WWWJDic/Utils/Raisers.html +95 -95
  30. data/html/WWWJDic/WWWJDic.html +343 -345
  31. data/html/copyright_md.html +37 -51
  32. data/html/created.rid +55 -57
  33. data/html/index.html +334 -164
  34. data/html/js/darkfish.js +84 -84
  35. data/html/js/navigation.js.gz +0 -0
  36. data/html/js/search.js +110 -110
  37. data/html/js/search_index.js +1 -1
  38. data/html/js/search_index.js.gz +0 -0
  39. data/html/js/searcher.js +229 -229
  40. data/html/js/searcher.js.gz +0 -0
  41. data/html/table_of_contents.html +44 -75
  42. data/lib/wwwjdic.rb +7 -11
  43. data/lib/wwwjdic/application.rb +13 -7
  44. data/lib/wwwjdic/constants.rb +16 -8
  45. data/lib/wwwjdic/locales/de.yml +5 -4
  46. data/lib/wwwjdic/locales/en.yml +5 -4
  47. data/lib/wwwjdic/locales/es.yml +5 -4
  48. data/lib/wwwjdic/locales/fr.yml +6 -4
  49. data/lib/wwwjdic/locales/hu.yml +6 -4
  50. data/lib/wwwjdic/locales/it.yml +6 -4
  51. data/lib/wwwjdic/locales/ja.yml +8 -4
  52. data/lib/wwwjdic/locales/nl.yml +5 -4
  53. data/lib/wwwjdic/locales/ru.yml +5 -4
  54. data/lib/wwwjdic/locales/sl.yml +5 -4
  55. data/lib/wwwjdic/locales/sv.yml +5 -4
  56. data/lib/wwwjdic/parser.rb +8 -4
  57. data/lib/wwwjdic/parsers/dict.rb +9 -7
  58. data/lib/wwwjdic/parsers/display.rb +6 -2
  59. data/lib/wwwjdic/parsers/key.rb +8 -3
  60. data/lib/wwwjdic/parsers/search.rb +8 -3
  61. data/lib/wwwjdic/parsers/server.rb +6 -2
  62. data/lib/wwwjdic/utils/downloader.rb +21 -23
  63. data/lib/wwwjdic/utils/raisers.rb +7 -3
  64. data/lib/wwwjdic/utils/splitter.rb +20 -14
  65. data/lib/wwwjdic/version.rb +2 -6
  66. data/test/test_helper.rb +5 -1
  67. data/test/test_wwwjdic.rb +6 -2
  68. data/test/wwwjdic/locales/de.yml +7 -1
  69. data/test/wwwjdic/locales/en.yml +7 -1
  70. data/test/wwwjdic/locales/es.yml +7 -1
  71. data/test/wwwjdic/locales/fr.yml +7 -1
  72. data/test/wwwjdic/locales/hu.yml +7 -1
  73. data/test/wwwjdic/locales/it.yml +10 -3
  74. data/test/wwwjdic/locales/ja.yml +9 -2
  75. data/test/wwwjdic/locales/nl.yml +7 -1
  76. data/test/wwwjdic/locales/ru.yml +7 -1
  77. data/test/wwwjdic/locales/sl.yml +7 -1
  78. data/test/wwwjdic/locales/sv.yml +7 -1
  79. data/test/wwwjdic/locales/test_locales.rb +12 -9
  80. data/test/wwwjdic/parsers/test_dict.rb +6 -2
  81. data/test/wwwjdic/parsers/test_display.rb +6 -2
  82. data/test/wwwjdic/parsers/test_key.rb +6 -2
  83. data/test/wwwjdic/parsers/test_server.rb +6 -2
  84. data/test/wwwjdic/test_application.rb +12 -8
  85. data/test/wwwjdic/test_parsable_duck_type.rb +6 -2
  86. data/test/wwwjdic/utils/test_downloader.rb +5 -1
  87. data/test/wwwjdic/utils/test_raisers.rb +10 -6
  88. data/wwwjdic.gemspec +30 -14
  89. metadata +50 -22
  90. data/acknowledgements.md +0 -55
  91. data/authors.md +0 -67
  92. data/html/acknowledgements_md.html +0 -150
  93. data/html/authors_md.html +0 -182
@@ -4,18 +4,18 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Rakefile - wwwjdic 14.0.0</title>
7
+ <title>Rakefile - wwwjdic 15.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/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>
14
+ <script defer src="./js/navigation.js"></script>
15
+ <script defer src="./js/search.js"></script>
16
+ <script defer src="./js/search_index.js"></script>
17
+ <script defer src="./js/searcher.js"></script>
18
+ <script defer src="./js/darkfish.js"></script>
19
19
 
20
20
  <link href="./css/fonts.css" rel="stylesheet">
21
21
  <link href="./css/rdoc.css" rel="stylesheet">
@@ -23,10 +23,10 @@
23
23
 
24
24
 
25
25
 
26
- <body id="top" role="document" class="file">
26
+ <body class="file" id="top" role="document">
27
27
  <nav role="navigation">
28
28
  <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
29
+ <div class="nav-section" id="home-section" role="region" title="Quick navigation">
30
30
  <h2>
31
31
  <a href="./index.html" rel="home">Home</a>
32
32
  </h2>
@@ -38,56 +38,52 @@
38
38
  </div>
39
39
  </div>
40
40
 
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
41
+ <div class="project-section initially-hidden" id="search-section" role="search">
42
+ <form accept-charset="utf-8" action="#" method="get">
43
43
  <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
44
+ <input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
+ id="search-field" name="search"
46
+ placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
+ type="text">
48
48
  </div>
49
49
 
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
50
+ <ul aria-atomic="false" aria-busy="false"
51
+ aria-expanded="false" aria-label="Search Results"
52
+ class="initially-hidden" id="search-results"></ul>
53
53
  </form>
54
54
  </div>
55
55
 
56
56
  </div>
57
57
 
58
-
58
+
59
59
 
60
60
  <div id="project-metadata">
61
- <div id="fileindex-section" class="nav-section">
61
+ <div class="nav-section" id="fileindex-section">
62
62
  <h3>Pages</h3>
63
63
 
64
64
  <ul class="link-list">
65
-
65
+
66
66
  <li><a href="./CHANGELOG.html">CHANGELOG</a>
67
-
67
+
68
68
  <li><a href="./COPYING_md.html">COPYING</a>
69
-
69
+
70
70
  <li><a href="./Gemfile.html">Gemfile</a>
71
-
71
+
72
72
  <li><a href="./README_md.html">README</a>
73
-
73
+
74
74
  <li><a href="./Rakefile.html">Rakefile</a>
75
-
76
- <li><a href="./acknowledgements_md.html">acknowledgements</a>
77
-
78
- <li><a href="./authors_md.html">authors</a>
79
-
75
+
80
76
  <li><a href="./copyright_md.html">copyright</a>
81
-
77
+
82
78
  </ul>
83
79
  </div>
84
80
 
85
81
  </div>
86
82
  </nav>
87
83
 
88
- <main role="main" aria-label="Page Rakefile">
84
+ <main aria-label="Page Rakefile" role="main">
89
85
 
90
- <p># wwwjdic # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 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>
86
+ <p># wwwjdic # © 2014 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;. # # SPDX-FileCopyrightText: 2014 Marco Bresciani # # SPDX-&lt;span&gt;&lt;/span&gt;License-Identifier: GPL-3.0-or-later #++</p>
91
87
 
92
88
  <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>
93
89
 
@@ -109,7 +105,7 @@
109
105
  <p>desc “Build the RDoc gem documentation (task &#39;rake rdoc&#39;)” Rake::RDocTask.new do |rdoc|</p>
110
106
 
111
107
  <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>
112
- <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>
108
+ <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">title</span> = <span class="ruby-node">&quot;#{wwwjdic.name} #{wwwjdic.version}&quot;</span>
113
109
  <span class="ruby-identifier">rdoc</span>.<span class="ruby-identifier">main</span> = <span class="ruby-string">&#39;README.md&#39;</span>
114
110
  <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>
115
111
  </pre>
@@ -4,18 +4,18 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic - wwwjdic 14.0.0</title>
7
+ <title>module WWWJDic - wwwjdic 15.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/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>
14
+ <script defer src="./js/navigation.js"></script>
15
+ <script defer src="./js/search.js"></script>
16
+ <script defer src="./js/search_index.js"></script>
17
+ <script defer src="./js/searcher.js"></script>
18
+ <script defer src="./js/darkfish.js"></script>
19
19
 
20
20
  <link href="./css/fonts.css" rel="stylesheet">
21
21
  <link href="./css/rdoc.css" rel="stylesheet">
@@ -23,10 +23,10 @@
23
23
 
24
24
 
25
25
 
26
- <body id="top" role="document" class="module">
26
+ <body class="module" id="top" role="document">
27
27
  <nav role="navigation">
28
28
  <div id="project-navigation">
29
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
29
+ <div class="nav-section" id="home-section" role="region" title="Quick navigation">
30
30
  <h2>
31
31
  <a href="./index.html" rel="home">Home</a>
32
32
  </h2>
@@ -38,46 +38,48 @@
38
38
  </div>
39
39
  </div>
40
40
 
41
- <div id="search-section" role="search" class="project-section initially-hidden">
42
- <form action="#" method="get" accept-charset="utf-8">
41
+ <div class="project-section initially-hidden" id="search-section" role="search">
42
+ <form accept-charset="utf-8" action="#" method="get">
43
43
  <div id="search-field-wrapper">
44
- <input id="search-field" role="combobox" aria-label="Search"
45
- aria-autocomplete="list" aria-controls="search-results"
46
- type="text" name="search" placeholder="Search" spellcheck="false"
47
- title="Type to search, Up and Down to navigate, Enter to load">
44
+ <input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
+ id="search-field" name="search"
46
+ placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
+ type="text">
48
48
  </div>
49
49
 
50
- <ul id="search-results" aria-label="Search Results"
51
- aria-busy="false" aria-expanded="false"
52
- aria-atomic="false" class="initially-hidden"></ul>
50
+ <ul aria-atomic="false" aria-busy="false"
51
+ aria-expanded="false" aria-label="Search Results"
52
+ class="initially-hidden" id="search-results"></ul>
53
53
  </form>
54
54
  </div>
55
55
 
56
56
  </div>
57
57
 
58
-
58
+
59
59
 
60
60
  <div id="class-metadata">
61
-
62
-
63
-
64
-
61
+
62
+
63
+
64
+
65
65
  <!-- Method Quickref -->
66
- <div id="method-list-section" class="nav-section">
66
+ <div class="nav-section" id="method-list-section">
67
67
  <h3>Methods</h3>
68
68
 
69
69
  <ul class="link-list" role="directory">
70
-
70
+
71
71
  <li ><a href="#method-c-breener">::breener</a>
72
-
72
+
73
+ <li ><a href="#method-c-parser">::parser</a>
74
+
73
75
  </ul>
74
76
  </div>
75
77
 
76
78
  </div>
77
79
  </nav>
78
80
 
79
- <main role="main" aria-labelledby="module-WWWJDic">
80
- <h1 id="module-WWWJDic" class="module">
81
+ <main aria-labelledby="module-WWWJDic" role="main">
82
+ <h1 class="module" id="module-WWWJDic">
81
83
  module WWWJDic
82
84
  </h1>
83
85
 
@@ -87,7 +89,7 @@
87
89
  <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
88
90
  </dd><dt>Copyright
89
91
  <dd>
90
- <p>Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani</p>
92
+ <p>(C) 2014 Marco Bresciani</p>
91
93
  </dd><dt>License
92
94
  <dd>
93
95
  <p>GNU General Public License version 3</p>
@@ -95,61 +97,61 @@
95
97
 
96
98
  </section>
97
99
 
98
-
99
- <section id="5Buntitled-5D" class="documentation-section">
100
-
101
100
 
102
-
101
+ <section class="documentation-section" id="5Buntitled-5D">
102
+
103
+
104
+
105
+
103
106
 
104
-
105
107
  <section class="constants-list">
106
108
  <header>
107
109
  <h3>Constants</h3>
108
110
  </header>
109
111
  <dl>
110
-
112
+
111
113
  <dt id="ALLOWED_PARAMS">ALLOWED_PARAMS
112
-
114
+
113
115
  <dd><p>Allowed parameters for configuration</p>
114
-
115
-
116
+
117
+
116
118
  <dt id="ALL_PARAMS">ALL_PARAMS
117
-
119
+
118
120
  <dd><p>All parameters for configuration</p>
119
-
120
-
121
+
122
+
121
123
  <dt id="AVAIL_LANGS">AVAIL_LANGS
122
-
124
+
123
125
  <dd><p>Numeric codes for language-specific dictionaries</p>
124
-
125
-
126
+
127
+
126
128
  <dt id="DICTIONARY_CODES">DICTIONARY_CODES
127
-
129
+
128
130
  <dd><p>Numeric codes for dictionaries usage</p>
129
-
130
-
131
+
132
+
131
133
  <dt id="DICTIONARY_NAMES">DICTIONARY_NAMES
132
-
134
+
133
135
  <dd><p>Naming for all supported dictionaries</p>
134
-
135
-
136
+
137
+
136
138
  <dt id="DICTS_BY_CODES">DICTS_BY_CODES
137
-
139
+
138
140
  <dd><p>Mapping between dictionaries names with codes</p>
139
-
140
-
141
+
142
+
141
143
  <dt id="DICTS_BY_NAMES">DICTS_BY_NAMES
142
-
144
+
143
145
  <dd><p>Mapping between dictionaries codes with names</p>
144
-
145
-
146
+
147
+
146
148
  <dt id="DISPLAY">DISPLAY
147
-
149
+
148
150
  <dd><p>Display modes</p>
149
-
150
-
151
+
152
+
151
153
  <dt id="KANJIDIC_CODES">KANJIDIC_CODES
152
-
154
+
153
155
  <dd><p>KANJIDIC letter codes (see <a href="http://www.edrdg.org/kanjidic/kanjidic.html">www.edrdg.org/kanjidic/kanjidic.html</a>)</p>
154
156
  <dl class="rdoc-list label-list"><dt>U
155
157
  <dd>
@@ -221,10 +223,10 @@
221
223
  <dd>
222
224
  <p>the PinYin (Chinese) pronunciation(s) of the kanji;</p>
223
225
  </dd></dl>
224
-
225
-
226
+
227
+
226
228
  <dt id="KEYS">KEYS
227
-
229
+
228
230
  <dd><p>k is the key type:</p>
229
231
 
230
232
  <pre>for dictionary lookups
@@ -255,59 +257,59 @@
255
257
  <pre>for example sentence lookups using a regular expression, use E</pre>
256
258
 
257
259
  <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>
258
-
259
-
260
+
261
+
260
262
  <dt id="TEST_REFERENCE_URI">TEST_REFERENCE_URI
261
-
263
+
262
264
  <dd><p>Example basic URI (profile part) for testing purposes.</p>
263
-
264
-
265
+
266
+
265
267
  <dt id="URIS">URIS
266
-
268
+
267
269
  <dd><p>URIs for Backdoor Entry/API</p>
268
-
269
-
270
+
271
+
270
272
  <dt id="URI_DEFAULT">URI_DEFAULT
271
-
273
+
272
274
  <dd><p>Reference URI for Backdoor Entry/API</p>
273
-
274
-
275
+
276
+
275
277
  <dt id="URI_OLD">URI_OLD
276
-
278
+
277
279
  <dd><p>Monash URI for Backdoor Entry/API</p>
278
-
279
-
280
+
281
+
280
282
  <dt id="VERSION">VERSION
281
-
283
+
282
284
  <dd><p>Current version number for <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> gem.</p>
283
-
284
-
285
+
286
+
285
287
  </dl>
286
288
  </section>
287
-
288
289
 
289
-
290
290
 
291
-
292
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
291
+
292
+
293
+
294
+ <section class="method-section" id="public-class-5Buntitled-5D-method-details">
293
295
  <header>
294
296
  <h3>Public Class Methods</h3>
295
297
  </header>
296
298
 
297
-
298
- <div id="method-c-breener" class="method-detail ">
299
-
299
+
300
+ <div class="method-detail " id="method-c-breener">
301
+
300
302
  <div class="method-heading">
301
303
  <span class="method-name">breener</span><span
302
304
  class="method-args">()</span>
303
-
305
+
304
306
  <span class="method-click-advice">click to toggle source</span>
305
-
307
+
306
308
  </div>
307
-
309
+
308
310
 
309
311
  <div class="method-description">
310
-
312
+
311
313
  <p>Creates a new <a href="WWWJDic/WWWJDic.html"><code>WWWJDic</code></a> object (from the verb &#39;to Breen&#39;… :) ).</p>
312
314
  <dl class="rdoc-list note-list"><dt>Usage
313
315
  <dd><ul><li>
@@ -317,27 +319,64 @@
317
319
  <dd>
318
320
  <p>a <code>WWWJDic</code> object.</p>
319
321
  </dd></dl>
320
-
321
-
322
322
 
323
-
323
+
324
+
325
+
324
326
  <div class="method-source-code" id="breener-source">
325
327
  <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
326
328
  <span class="line-num">43</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">breener</span>
327
329
  <span class="line-num">44</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
328
330
  <span class="line-num">45</span> <span class="ruby-keyword">end</span></pre>
329
331
  </div>
330
-
332
+
333
+ </div>
334
+
335
+
336
+
337
+
338
+ </div>
339
+
340
+
341
+ <div class="method-detail " id="method-c-parser">
342
+
343
+ <div class="method-heading">
344
+ <span class="method-name">parser</span><span
345
+ class="method-args">()</span>
346
+
347
+ <span class="method-click-advice">click to toggle source</span>
348
+
349
+ </div>
350
+
351
+
352
+ <div class="method-description">
353
+
354
+ <p>Provides the parameters&#39; parsers object.</p>
355
+
356
+
357
+
358
+
359
+ <div class="method-source-code" id="parser-source">
360
+ <pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
361
+ <span class="line-num">48</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">parser</span>
362
+ <span class="line-num">49</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>,
363
+ <span class="line-num">50</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>,
364
+ <span class="line-num">51</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>}
365
+ <span class="line-num">52</span>
366
+ <span class="line-num">53</span> <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">parsers</span>
367
+ <span class="line-num">54</span> <span class="ruby-keyword">end</span></pre>
368
+ </div>
369
+
331
370
  </div>
332
371
 
333
-
334
372
 
335
-
373
+
374
+
336
375
  </div>
337
376
 
338
-
377
+
339
378
  </section>
340
-
379
+
341
380
  </section>
342
381
 
343
382
  </main>