wwwjdic 16.0.0 → 16.1.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.
- checksums.yaml +4 -4
- data/CHANGELOG +10 -1
- data/Gemfile +2 -4
- data/README.md +5 -4
- data/Rakefile +2 -4
- data/copyright.md +5 -5
- data/examples/basics.rb +2 -4
- data/examples/translate.rb +2 -4
- data/examples/uri.rb +2 -6
- data/html/CHANGELOG.html +34 -24
- data/html/COPYING_md.html +22 -23
- data/html/Gemfile.html +23 -24
- data/html/Object.html +393 -394
- data/html/README_md.html +27 -28
- data/html/Rakefile.html +23 -24
- data/html/WWWJDic.html +42 -43
- data/html/WWWJDic/ParsableDuckType.html +35 -36
- data/html/WWWJDic/Parser.html +47 -48
- data/html/WWWJDic/Parsers.html +28 -29
- data/html/WWWJDic/Parsers/Dict.html +47 -48
- data/html/WWWJDic/Parsers/Display.html +42 -43
- data/html/WWWJDic/Parsers/Key.html +42 -43
- data/html/WWWJDic/Parsers/Search.html +38 -39
- data/html/WWWJDic/Parsers/Server.html +42 -43
- data/html/WWWJDic/Splitter.html +76 -77
- data/html/WWWJDic/Utils.html +29 -30
- data/html/WWWJDic/Utils/Downloader.html +40 -35
- data/html/WWWJDic/Utils/Downloader/Downloader.html +52 -45
- data/html/WWWJDic/Utils/Raisers.html +43 -44
- data/html/WWWJDic/WWWJDic.html +162 -163
- data/html/copyright_md.html +27 -28
- data/html/created.rid +33 -33
- data/html/css/rdoc.css +638 -619
- data/html/index.html +26 -27
- data/html/js/darkfish.js +84 -84
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +109 -110
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +228 -229
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +10 -10
- data/lib/wwwjdic.rb +3 -5
- data/lib/wwwjdic/application.rb +4 -5
- data/lib/wwwjdic/constants.rb +11 -5
- data/lib/wwwjdic/locales/de.yml +2 -2
- data/lib/wwwjdic/locales/en.yml +2 -2
- data/lib/wwwjdic/locales/es.yml +2 -2
- data/lib/wwwjdic/locales/fr.yml +2 -2
- data/lib/wwwjdic/locales/hu.yml +2 -2
- data/lib/wwwjdic/locales/it.yml +2 -2
- data/lib/wwwjdic/locales/ja.yml +4 -4
- data/lib/wwwjdic/locales/nl.yml +2 -2
- data/lib/wwwjdic/locales/ru.yml +2 -2
- data/lib/wwwjdic/locales/sl.yml +2 -2
- data/lib/wwwjdic/locales/sv.yml +2 -2
- data/lib/wwwjdic/parser.rb +3 -5
- data/lib/wwwjdic/parsers/dict.rb +3 -5
- data/lib/wwwjdic/parsers/display.rb +3 -5
- data/lib/wwwjdic/parsers/key.rb +3 -5
- data/lib/wwwjdic/parsers/search.rb +3 -5
- data/lib/wwwjdic/parsers/server.rb +3 -5
- data/lib/wwwjdic/utils/downloader.rb +14 -8
- data/lib/wwwjdic/utils/raisers.rb +4 -6
- data/lib/wwwjdic/utils/splitter.rb +4 -5
- data/lib/wwwjdic/version.rb +10 -4
- data/test/test_helper.rb +2 -4
- data/test/test_wwwjdic.rb +2 -4
- data/test/wwwjdic/locales/de.yml +2 -2
- data/test/wwwjdic/locales/en.yml +2 -2
- data/test/wwwjdic/locales/es.yml +2 -2
- data/test/wwwjdic/locales/fr.yml +2 -2
- data/test/wwwjdic/locales/hu.yml +2 -2
- data/test/wwwjdic/locales/it.yml +2 -2
- data/test/wwwjdic/locales/ja.yml +4 -4
- data/test/wwwjdic/locales/nl.yml +2 -2
- data/test/wwwjdic/locales/ru.yml +2 -2
- data/test/wwwjdic/locales/sl.yml +2 -2
- data/test/wwwjdic/locales/sv.yml +2 -2
- data/test/wwwjdic/locales/test_locales.rb +2 -4
- data/test/wwwjdic/parsers/test_dict.rb +2 -4
- data/test/wwwjdic/parsers/test_display.rb +2 -4
- data/test/wwwjdic/parsers/test_key.rb +2 -4
- data/test/wwwjdic/parsers/test_server.rb +2 -4
- data/test/wwwjdic/test_application.rb +3 -5
- data/test/wwwjdic/test_parsable_duck_type.rb +4 -5
- data/test/wwwjdic/utils/test_downloader.rb +2 -4
- data/test/wwwjdic/utils/test_raisers.rb +2 -4
- data/wwwjdic.gemspec +2 -4
- metadata +11 -11
data/html/README_md.html
CHANGED
@@ -4,27 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>README - wwwjdic 16.
|
7
|
+
<title>README - wwwjdic 16.1.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"
|
15
|
-
<script src="./js/search.js"
|
16
|
-
<script src="./js/search_index.js"
|
17
|
-
<script src="./js/searcher.js"
|
18
|
-
<script src="./js/darkfish.js"
|
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">
|
22
22
|
|
23
23
|
|
24
|
-
<body id="top" role="document"
|
24
|
+
<body class="file" id="top" role="document">
|
25
25
|
<nav role="navigation">
|
26
26
|
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation"
|
27
|
+
<div class="nav-section" id="home-section" role="region" title="Quick navigation">
|
28
28
|
<h2>
|
29
29
|
<a href="./index.html" rel="home">Home</a>
|
30
30
|
</h2>
|
@@ -36,24 +36,24 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div
|
40
|
-
<form action="#" method="get"
|
39
|
+
<div class="project-section initially-hidden" id="search-section" role="search">
|
40
|
+
<form accept-charset="utf-8" action="#" method="get">
|
41
41
|
<div id="search-field-wrapper">
|
42
|
-
<input
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
<input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
|
43
|
+
id="search-field" name="search"
|
44
|
+
placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
|
45
|
+
type="text">
|
46
46
|
</div>
|
47
47
|
|
48
|
-
<ul
|
49
|
-
aria-
|
50
|
-
|
48
|
+
<ul aria-atomic="false" aria-busy="false"
|
49
|
+
aria-expanded="false" aria-label="Search Results"
|
50
|
+
class="initially-hidden" id="search-results"></ul>
|
51
51
|
</form>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
</div>
|
55
55
|
|
56
|
-
|
56
|
+
|
57
57
|
<div class="nav-section">
|
58
58
|
<h3>Table of Contents</h3>
|
59
59
|
|
@@ -74,8 +74,8 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
<div id="project-metadata">
|
77
|
-
|
78
|
-
<div
|
77
|
+
|
78
|
+
<div class="nav-section" id="fileindex-section">
|
79
79
|
<h3>Pages</h3>
|
80
80
|
|
81
81
|
<ul class="link-list">
|
@@ -91,11 +91,11 @@
|
|
91
91
|
</div>
|
92
92
|
</nav>
|
93
93
|
|
94
|
-
<main
|
94
|
+
<main aria-label="Page README.md" role="main">
|
95
95
|
<!--
|
96
96
|
wwwjdic
|
97
97
|
|
98
|
-
|
98
|
+
© 2014-2021 Marco Bresciani
|
99
99
|
|
100
100
|
This file is part of wwwjdic.
|
101
101
|
|
@@ -112,7 +112,7 @@ more details.
|
|
112
112
|
You should have received a copy of the GNU General Public License along
|
113
113
|
with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
|
114
114
|
|
115
|
-
SPDX-FileCopyrightText: 2014 Marco Bresciani
|
115
|
+
SPDX-FileCopyrightText: 2014-2021 Marco Bresciani
|
116
116
|
|
117
117
|
SPDX-License-Identifier: GFDL-1.3-or-later
|
118
118
|
-->
|
@@ -159,7 +159,7 @@ SPDX-License-Identifier: GFDL-1.3-or-later
|
|
159
159
|
|
160
160
|
<p><a href="WWWJDic.html"><code>WWWJDic</code></a> is an online Japanese translation server made by Jim Breen and available at <a href="http://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C">www.edrdg.org/cgi-bin/wwwjdic/wwwjdic?1C</a>.</p>
|
161
161
|
|
162
|
-
<p>Jim Breen's Japanese Page lists this gem: <a href="http://nihongo.monash.edu/japanese.html#links_software">nihongo.monash.edu/japanese.html#links_software</a
|
162
|
+
<p>Jim Breen's Japanese Page lists this gem: <a href="http://nihongo.monash.edu/japanese.html#links_software">nihongo.monash.edu/japanese.html#links_software</a> and has allowed the use of the same name.</p>
|
163
163
|
|
164
164
|
<p>GNU GPLv3 license; source code available through anonymous checkout: <code>hg clone http://hg.savannah.nongnu.org/hgweb/wwwjdic/</code> or write me, and I'll send it.</p>
|
165
165
|
|
@@ -171,7 +171,7 @@ SPDX-License-Identifier: GFDL-1.3-or-later
|
|
171
171
|
|
172
172
|
<p>RubyGems is the preferred easy install method for <a href="WWWJDic.html"><code>WWWJDic</code></a>. <a href="WWWJDic.html"><code>WWWJDic</code></a> should be installed via the <a href="http://rubyforge.org/projects/rubygems/">RubyGems</a> system. To get the latest version, simply enter the following into your command prompt: <code>gem install wwwjdic</code>.</p>
|
173
173
|
|
174
|
-
<p>Because <a href="WWWJDic.html"><code>WWWJDic</code></a> is pure Ruby, it should run pretty much anywhere, including Rubinius, JRuby, MacRuby, etc. Officially the support is for >=
|
174
|
+
<p>Because <a href="WWWJDic.html"><code>WWWJDic</code></a> is pure Ruby, it should run pretty much anywhere, including Rubinius, JRuby, MacRuby, etc. Officially the support is for >= 3.0 MJIT.</p>
|
175
175
|
|
176
176
|
<h4 id="label-Savannah">Savannah<span><a href="#label-Savannah">¶</a> <a href="#top">↑</a></span></h4>
|
177
177
|
<ul><li>
|
@@ -455,7 +455,7 @@ here.</pre>
|
|
455
455
|
|
456
456
|
<p>Please make your posts to the list as specific as possible, including code samples and output where relevant. Do not post any information that should not be shared publicly, and be sure to reduce your example code as much as possible so that those who are responding to your question can more easily see what the issue might be.</p>
|
457
457
|
|
458
|
-
<p>If you've found a bug, want to submit a patch, or have a feature request, please enter a ticket into our bug tracker: <code>https://savannah.nongnu.org/bugs/?func=additem&group=wwwjdic</code></p>
|
458
|
+
<p>If you've found a bug, want to submit a patch, or have a feature request, please enter a ticket into our bug tracker: <code>https://savannah.nongnu.org/bugs/?func=additem&group=wwwjdic</code></p>
|
459
459
|
|
460
460
|
<p>We strongly encourage adding bug reports with failing tests or at least a reduced example that demonstrates the problem.</p>
|
461
461
|
|
@@ -485,7 +485,6 @@ here.</pre>
|
|
485
485
|
|
486
486
|
<footer id="validator-badges" role="contentinfo">
|
487
487
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
488
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.
|
488
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
489
489
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
490
490
|
</footer>
|
491
|
-
|
data/html/Rakefile.html
CHANGED
@@ -4,27 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>Rakefile - wwwjdic 16.
|
7
|
+
<title>Rakefile - wwwjdic 16.1.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"
|
15
|
-
<script src="./js/search.js"
|
16
|
-
<script src="./js/search_index.js"
|
17
|
-
<script src="./js/searcher.js"
|
18
|
-
<script src="./js/darkfish.js"
|
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">
|
22
22
|
|
23
23
|
|
24
|
-
<body id="top" role="document"
|
24
|
+
<body class="file" id="top" role="document">
|
25
25
|
<nav role="navigation">
|
26
26
|
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation"
|
27
|
+
<div class="nav-section" id="home-section" role="region" title="Quick navigation">
|
28
28
|
<h2>
|
29
29
|
<a href="./index.html" rel="home">Home</a>
|
30
30
|
</h2>
|
@@ -36,28 +36,28 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div
|
40
|
-
<form action="#" method="get"
|
39
|
+
<div class="project-section initially-hidden" id="search-section" role="search">
|
40
|
+
<form accept-charset="utf-8" action="#" method="get">
|
41
41
|
<div id="search-field-wrapper">
|
42
|
-
<input
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
<input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
|
43
|
+
id="search-field" name="search"
|
44
|
+
placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
|
45
|
+
type="text">
|
46
46
|
</div>
|
47
47
|
|
48
|
-
<ul
|
49
|
-
aria-
|
50
|
-
|
48
|
+
<ul aria-atomic="false" aria-busy="false"
|
49
|
+
aria-expanded="false" aria-label="Search Results"
|
50
|
+
class="initially-hidden" id="search-results"></ul>
|
51
51
|
</form>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
</div>
|
55
55
|
|
56
|
-
|
56
|
+
|
57
57
|
|
58
58
|
<div id="project-metadata">
|
59
|
-
|
60
|
-
<div
|
59
|
+
|
60
|
+
<div class="nav-section" id="fileindex-section">
|
61
61
|
<h3>Pages</h3>
|
62
62
|
|
63
63
|
<ul class="link-list">
|
@@ -73,11 +73,11 @@
|
|
73
73
|
</div>
|
74
74
|
</nav>
|
75
75
|
|
76
|
-
<main
|
76
|
+
<main aria-label="Page Rakefile" role="main">
|
77
77
|
|
78
78
|
<p># frozen_string_literal: true</p>
|
79
79
|
|
80
|
-
<p># wwwjdic #
|
80
|
+
<p># wwwjdic # © 2014-2021 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 <<a href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>. # # SPDX-FileCopyrightText: 2014-2021 Marco Bresciani # # SPDX-<span></span>License-Identifier: GPL-3.0-or-later #++</p>
|
81
81
|
|
82
82
|
<p>require 'rake' require 'rake/clean' require 'rake/testtask' require 'rdoc/task' require 'rubygems/package_task'</p>
|
83
83
|
|
@@ -122,7 +122,6 @@
|
|
122
122
|
|
123
123
|
<footer id="validator-badges" role="contentinfo">
|
124
124
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
125
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.
|
125
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
126
126
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
127
127
|
</footer>
|
128
|
-
|
data/html/WWWJDic.html
CHANGED
@@ -4,27 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module WWWJDic - wwwjdic 16.
|
7
|
+
<title>module WWWJDic - wwwjdic 16.1.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"
|
15
|
-
<script src="./js/search.js"
|
16
|
-
<script src="./js/search_index.js"
|
17
|
-
<script src="./js/searcher.js"
|
18
|
-
<script src="./js/darkfish.js"
|
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">
|
22
22
|
|
23
23
|
|
24
|
-
<body id="top" role="document"
|
24
|
+
<body class="module" id="top" role="document">
|
25
25
|
<nav role="navigation">
|
26
26
|
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation"
|
27
|
+
<div class="nav-section" id="home-section" role="region" title="Quick navigation">
|
28
28
|
<h2>
|
29
29
|
<a href="./index.html" rel="home">Home</a>
|
30
30
|
</h2>
|
@@ -36,33 +36,33 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div
|
40
|
-
<form action="#" method="get"
|
39
|
+
<div class="project-section initially-hidden" id="search-section" role="search">
|
40
|
+
<form accept-charset="utf-8" action="#" method="get">
|
41
41
|
<div id="search-field-wrapper">
|
42
|
-
<input
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
<input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
|
43
|
+
id="search-field" name="search"
|
44
|
+
placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
|
45
|
+
type="text">
|
46
46
|
</div>
|
47
47
|
|
48
|
-
<ul
|
49
|
-
aria-
|
50
|
-
|
48
|
+
<ul aria-atomic="false" aria-busy="false"
|
49
|
+
aria-expanded="false" aria-label="Search Results"
|
50
|
+
class="initially-hidden" id="search-results"></ul>
|
51
51
|
</form>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
</div>
|
55
55
|
|
56
|
-
|
56
|
+
|
57
57
|
|
58
58
|
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
64
|
<!-- Method Quickref -->
|
65
|
-
<div
|
65
|
+
<div class="nav-section" id="method-list-section">
|
66
66
|
<h3>Methods</h3>
|
67
67
|
|
68
68
|
<ul class="link-list" role="directory">
|
@@ -74,8 +74,8 @@
|
|
74
74
|
</div>
|
75
75
|
</nav>
|
76
76
|
|
77
|
-
<main
|
78
|
-
<h1
|
77
|
+
<main aria-labelledby="module-WWWJDic" role="main">
|
78
|
+
<h1 class="module" id="module-WWWJDic">
|
79
79
|
module WWWJDic
|
80
80
|
</h1>
|
81
81
|
|
@@ -85,7 +85,7 @@
|
|
85
85
|
<p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
|
86
86
|
</dd><dt>Copyright
|
87
87
|
<dd>
|
88
|
-
<p
|
88
|
+
<p>© 2014-2021 Marco Bresciani</p>
|
89
89
|
</dd><dt>License
|
90
90
|
<dd>
|
91
91
|
<p>GNU General Public License version 3</p>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
</section>
|
95
95
|
|
96
|
-
<section
|
96
|
+
<section class="documentation-section" id="5Buntitled-5D">
|
97
97
|
|
98
98
|
|
99
99
|
<section class="constants-list">
|
@@ -235,12 +235,12 @@
|
|
235
235
|
|
236
236
|
|
237
237
|
|
238
|
-
<section id="public-class-5Buntitled-5D-method-details"
|
238
|
+
<section class="method-section" id="public-class-5Buntitled-5D-method-details">
|
239
239
|
<header>
|
240
240
|
<h3>Public Class Methods</h3>
|
241
241
|
</header>
|
242
242
|
|
243
|
-
<div
|
243
|
+
<div class="method-detail " id="method-c-breener">
|
244
244
|
<div class="method-heading">
|
245
245
|
<span class="method-name">breener</span><span
|
246
246
|
class="method-args">()</span>
|
@@ -260,16 +260,16 @@
|
|
260
260
|
|
261
261
|
<div class="method-source-code" id="breener-source">
|
262
262
|
<pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
|
263
|
-
<span class="line-num">
|
264
|
-
<span class="line-num">
|
265
|
-
<span class="line-num">
|
263
|
+
<span class="line-num">44</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">45</span> <span class="ruby-constant">WWWJDic</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">parser</span>)
|
265
|
+
<span class="line-num">46</span> <span class="ruby-keyword">end</span></pre>
|
266
266
|
</div>
|
267
267
|
</div>
|
268
268
|
|
269
269
|
|
270
270
|
</div>
|
271
271
|
|
272
|
-
<div
|
272
|
+
<div class="method-detail " id="method-c-parser">
|
273
273
|
<div class="method-heading">
|
274
274
|
<span class="method-name">parser</span><span
|
275
275
|
class="method-args">()</span>
|
@@ -281,13 +281,13 @@
|
|
281
281
|
|
282
282
|
<div class="method-source-code" id="parser-source">
|
283
283
|
<pre> <span class="ruby-comment"># File lib/wwwjdic.rb</span>
|
284
|
-
<span class="line-num">
|
285
|
-
<span class="line-num">
|
286
|
-
<span class="line-num">
|
287
|
-
<span class="line-num">
|
288
|
-
<span class="line-num">
|
289
|
-
<span class="line-num">
|
290
|
-
<span class="line-num">
|
284
|
+
<span class="line-num">49</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">50</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">51</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">52</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">53</span>
|
289
|
+
<span class="line-num">54</span> <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">parsers</span>
|
290
|
+
<span class="line-num">55</span> <span class="ruby-keyword">end</span></pre>
|
291
291
|
</div>
|
292
292
|
</div>
|
293
293
|
|
@@ -302,7 +302,6 @@
|
|
302
302
|
|
303
303
|
<footer id="validator-badges" role="contentinfo">
|
304
304
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
305
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.
|
305
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
306
306
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
307
307
|
</footer>
|
308
|
-
|
@@ -4,27 +4,27 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>module WWWJDic::ParsableDuckType - wwwjdic 16.
|
7
|
+
<title>module WWWJDic::ParsableDuckType - wwwjdic 16.1.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"
|
15
|
-
<script src="../js/search.js"
|
16
|
-
<script src="../js/search_index.js"
|
17
|
-
<script src="../js/searcher.js"
|
18
|
-
<script src="../js/darkfish.js"
|
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">
|
22
22
|
|
23
23
|
|
24
|
-
<body id="top" role="document"
|
24
|
+
<body class="module" id="top" role="document">
|
25
25
|
<nav role="navigation">
|
26
26
|
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation"
|
27
|
+
<div class="nav-section" id="home-section" role="region" title="Quick navigation">
|
28
28
|
<h2>
|
29
29
|
<a href="../index.html" rel="home">Home</a>
|
30
30
|
</h2>
|
@@ -36,33 +36,33 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div
|
40
|
-
<form action="#" method="get"
|
39
|
+
<div class="project-section initially-hidden" id="search-section" role="search">
|
40
|
+
<form accept-charset="utf-8" action="#" method="get">
|
41
41
|
<div id="search-field-wrapper">
|
42
|
-
<input
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
<input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
|
43
|
+
id="search-field" name="search"
|
44
|
+
placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
|
45
|
+
type="text">
|
46
46
|
</div>
|
47
47
|
|
48
|
-
<ul
|
49
|
-
aria-
|
50
|
-
|
48
|
+
<ul aria-atomic="false" aria-busy="false"
|
49
|
+
aria-expanded="false" aria-label="Search Results"
|
50
|
+
class="initially-hidden" id="search-results"></ul>
|
51
51
|
</form>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
</div>
|
55
55
|
|
56
|
-
|
56
|
+
|
57
57
|
|
58
58
|
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
64
|
<!-- Method Quickref -->
|
65
|
-
<div
|
65
|
+
<div class="nav-section" id="method-list-section">
|
66
66
|
<h3>Methods</h3>
|
67
67
|
|
68
68
|
<ul class="link-list" role="directory">
|
@@ -73,20 +73,20 @@
|
|
73
73
|
</div>
|
74
74
|
</nav>
|
75
75
|
|
76
|
-
<main
|
77
|
-
<h1 id="module-WWWJDic::ParsableDuckType"
|
76
|
+
<main aria-labelledby="module-WWWJDic::ParsableDuckType" role="main">
|
77
|
+
<h1 class="module" id="module-WWWJDic::ParsableDuckType">
|
78
78
|
module WWWJDic::ParsableDuckType
|
79
79
|
</h1>
|
80
80
|
|
81
81
|
<section class="description">
|
82
|
-
|
82
|
+
|
83
83
|
<p>This module represents the parsable duck type element for testing purposes.</p>
|
84
84
|
<dl class="rdoc-list note-list"><dt>Author
|
85
85
|
<dd>
|
86
86
|
<p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
|
87
87
|
</dd><dt>Copyright
|
88
88
|
<dd>
|
89
|
-
<p
|
89
|
+
<p>© 2014-2021 Marco Bresciani</p>
|
90
90
|
</dd><dt>License
|
91
91
|
<dd>
|
92
92
|
<p>GNU General Public License version 3</p>
|
@@ -94,18 +94,18 @@
|
|
94
94
|
|
95
95
|
</section>
|
96
96
|
|
97
|
-
<section
|
97
|
+
<section class="documentation-section" id="5Buntitled-5D">
|
98
98
|
|
99
99
|
|
100
100
|
|
101
101
|
|
102
102
|
|
103
|
-
<section id="public-instance-5Buntitled-5D-method-details"
|
103
|
+
<section class="method-section" id="public-instance-5Buntitled-5D-method-details">
|
104
104
|
<header>
|
105
105
|
<h3>Public Instance Methods</h3>
|
106
106
|
</header>
|
107
107
|
|
108
|
-
<div
|
108
|
+
<div class="method-detail " id="method-i-test_parsable_duck_type">
|
109
109
|
<div class="method-heading">
|
110
110
|
<span class="method-name">test_parsable_duck_type</span><span
|
111
111
|
class="method-args">()</span>
|
@@ -117,9 +117,9 @@
|
|
117
117
|
|
118
118
|
<div class="method-source-code" id="test_parsable_duck_type-source">
|
119
119
|
<pre> <span class="ruby-comment"># File test/wwwjdic/test_parsable_duck_type.rb</span>
|
120
|
-
<span class="line-num">
|
121
|
-
<span class="line-num">
|
122
|
-
<span class="line-num">
|
120
|
+
<span class="line-num">37</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">test_parsable_duck_type</span>
|
121
|
+
<span class="line-num">38</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">39</span> <span class="ruby-keyword">end</span></pre>
|
123
123
|
</div>
|
124
124
|
</div>
|
125
125
|
|
@@ -134,7 +134,6 @@
|
|
134
134
|
|
135
135
|
<footer id="validator-badges" role="contentinfo">
|
136
136
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
137
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.
|
137
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
|
138
138
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
139
139
|
</footer>
|
140
|
-
|