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.
- checksums.yaml +4 -4
- data/CHANGELOG +63 -1
- data/Gemfile +9 -1
- data/README.md +499 -225
- data/Rakefile +12 -3
- data/copyright.md +17 -29
- data/examples/basics.rb +55 -45
- data/examples/translate.rb +161 -86
- data/examples/uri.rb +50 -78
- data/html/CHANGELOG.html +80 -21
- data/html/COPYING_md.html +13 -24
- data/html/Gemfile.html +12 -21
- data/html/Object.html +810 -45
- data/html/README_md.html +309 -161
- data/html/Rakefile.html +15 -24
- data/html/WWWJDic.html +41 -81
- data/html/WWWJDic/ParsableDuckType.html +15 -34
- data/html/WWWJDic/Parser.html +25 -64
- data/html/WWWJDic/Parsers.html +8 -13
- data/html/WWWJDic/Parsers/Dict.html +29 -54
- data/html/WWWJDic/Parsers/Display.html +24 -47
- data/html/WWWJDic/Parsers/Key.html +25 -48
- data/html/WWWJDic/Parsers/Search.html +19 -38
- data/html/WWWJDic/Parsers/Server.html +24 -47
- data/html/WWWJDic/Splitter.html +49 -142
- data/html/WWWJDic/Utils.html +9 -14
- data/html/WWWJDic/Utils/Downloader.html +8 -13
- data/html/WWWJDic/Utils/Downloader/Downloader.html +29 -63
- data/html/WWWJDic/Utils/Raisers.html +21 -72
- data/html/WWWJDic/WWWJDic.html +131 -312
- data/html/copyright_md.html +206 -225
- data/html/created.rid +33 -58
- data/html/css/rdoc.css +35 -6
- data/html/index.html +301 -169
- data/html/js/darkfish.js +22 -99
- data/html/js/navigation.js +4 -40
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +32 -31
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +6 -6
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +160 -197
- data/lib/wwwjdic.rb +16 -15
- data/lib/wwwjdic/application.rb +69 -36
- data/lib/wwwjdic/constants.rb +48 -10
- data/lib/wwwjdic/locales/de.yml +9 -4
- data/lib/wwwjdic/locales/en.yml +9 -4
- data/lib/wwwjdic/locales/es.yml +9 -4
- data/lib/wwwjdic/locales/fr.yml +9 -4
- data/lib/wwwjdic/locales/hu.yml +9 -4
- data/lib/wwwjdic/locales/it.yml +9 -4
- data/lib/wwwjdic/locales/ja.yml +11 -5
- data/lib/wwwjdic/locales/nl.yml +9 -4
- data/lib/wwwjdic/locales/ru.yml +9 -4
- data/lib/wwwjdic/locales/sl.yml +9 -4
- data/lib/wwwjdic/locales/sv.yml +9 -4
- data/lib/wwwjdic/parser.rb +15 -8
- data/lib/wwwjdic/parsers/dict.rb +13 -8
- data/lib/wwwjdic/parsers/display.rb +10 -3
- data/lib/wwwjdic/parsers/key.rb +11 -3
- data/lib/wwwjdic/parsers/search.rb +12 -3
- data/lib/wwwjdic/parsers/server.rb +10 -3
- data/lib/wwwjdic/utils/downloader.rb +27 -30
- data/lib/wwwjdic/utils/raisers.rb +14 -15
- data/lib/wwwjdic/utils/splitter.rb +33 -18
- data/lib/wwwjdic/version.rb +28 -20
- data/test/test_helper.rb +12 -1
- data/test/test_wwwjdic.rb +12 -4
- data/test/wwwjdic/locales/de.yml +9 -1
- data/test/wwwjdic/locales/en.yml +9 -1
- data/test/wwwjdic/locales/es.yml +9 -1
- data/test/wwwjdic/locales/fr.yml +9 -1
- data/test/wwwjdic/locales/hu.yml +9 -1
- data/test/wwwjdic/locales/it.yml +10 -1
- data/test/wwwjdic/locales/ja.yml +11 -2
- data/test/wwwjdic/locales/nl.yml +9 -1
- data/test/wwwjdic/locales/ru.yml +9 -1
- data/test/wwwjdic/locales/sl.yml +9 -1
- data/test/wwwjdic/locales/sv.yml +9 -1
- data/test/wwwjdic/locales/test_locales.rb +43 -24
- data/test/wwwjdic/parsers/test_dict.rb +67 -37
- data/test/wwwjdic/parsers/test_display.rb +13 -5
- data/test/wwwjdic/parsers/test_key.rb +12 -4
- data/test/wwwjdic/parsers/test_server.rb +13 -5
- data/test/wwwjdic/test_application.rb +201 -149
- data/test/wwwjdic/test_parsable_duck_type.rb +11 -6
- data/test/wwwjdic/utils/test_downloader.rb +9 -1
- data/test/wwwjdic/utils/test_raisers.rb +48 -29
- data/wwwjdic.gemspec +46 -26
- metadata +55 -43
- data/acknowledgements.md +0 -55
- data/authors.md +0 -67
- data/html/acknowledgements_md.html +0 -149
- data/html/authors_md.html +0 -181
- data/html/js/jquery.js +0 -4
- data/html/wwwjdic_gemspec.html +0 -161
data/html/js/darkfish.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
*/
|
9
9
|
|
10
10
|
/* Provide console simulation for firebug-less environments */
|
11
|
+
/*
|
11
12
|
if (!("console" in window) || !("firebug" in console)) {
|
12
13
|
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
13
14
|
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
@@ -16,41 +17,35 @@ if (!("console" in window) || !("firebug" in console)) {
|
|
16
17
|
for (var i = 0; i < names.length; ++i)
|
17
18
|
window.console[names[i]] = function() {};
|
18
19
|
};
|
19
|
-
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Unwrap the first element that matches the given @expr@ from the targets and return them.
|
23
|
-
*/
|
24
|
-
$.fn.unwrap = function( expr ) {
|
25
|
-
return this.each( function() {
|
26
|
-
$(this).parents( expr ).eq( 0 ).after( this ).remove();
|
27
|
-
});
|
28
|
-
};
|
20
|
+
*/
|
29
21
|
|
30
22
|
|
31
23
|
function showSource( e ) {
|
32
24
|
var target = e.target;
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
25
|
+
while (!target.classList.contains('method-detail')) {
|
26
|
+
target = target.parentNode;
|
27
|
+
}
|
28
|
+
if (typeof target !== "undefined" && target !== null) {
|
29
|
+
target = target.querySelector('.method-source-code');
|
30
|
+
}
|
31
|
+
if (typeof target !== "undefined" && target !== null) {
|
32
|
+
target.classList.toggle('active-menu')
|
33
|
+
}
|
41
34
|
};
|
42
35
|
|
43
36
|
function hookSourceViews() {
|
44
|
-
|
37
|
+
document.querySelectorAll('.method-heading').forEach(function (codeObject) {
|
38
|
+
codeObject.addEventListener('click', showSource);
|
39
|
+
});
|
45
40
|
};
|
46
41
|
|
47
42
|
function hookSearch() {
|
48
|
-
var input =
|
49
|
-
var result =
|
50
|
-
|
43
|
+
var input = document.querySelector('#search-field');
|
44
|
+
var result = document.querySelector('#search-results');
|
45
|
+
result.classList.remove("initially-hidden");
|
51
46
|
|
52
|
-
var search_section =
|
53
|
-
|
47
|
+
var search_section = document.querySelector('#search-section');
|
48
|
+
search_section.classList.remove("initially-hidden");
|
54
49
|
|
55
50
|
var search = new Search(search_data, input, result);
|
56
51
|
|
@@ -77,85 +72,13 @@ function hookSearch() {
|
|
77
72
|
}
|
78
73
|
|
79
74
|
search.select = function(result) {
|
80
|
-
|
81
|
-
window.location.href = result_element.firstChild.firstChild.href;
|
75
|
+
window.location.href = result.firstChild.firstChild.href;
|
82
76
|
}
|
83
77
|
|
84
78
|
search.scrollIntoView = search.scrollInWindow;
|
85
79
|
};
|
86
80
|
|
87
|
-
function
|
88
|
-
console.debug( "Highlighting target '%s'.", anchor );
|
89
|
-
|
90
|
-
$("a[name]").each( function() {
|
91
|
-
if ( $(this).attr("name") == anchor ) {
|
92
|
-
if ( !$(this).parent().parent().hasClass('target-section') ) {
|
93
|
-
console.debug( "Wrapping the target-section" );
|
94
|
-
$('div.method-detail').unwrap( 'div.target-section' );
|
95
|
-
$(this).parent().wrap( '<div class="target-section"></div>' );
|
96
|
-
} else {
|
97
|
-
console.debug( "Already wrapped." );
|
98
|
-
}
|
99
|
-
}
|
100
|
-
});
|
101
|
-
};
|
102
|
-
|
103
|
-
function highlightLocationTarget() {
|
104
|
-
console.debug( "Location hash: %s", window.location.hash );
|
105
|
-
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
|
106
|
-
|
107
|
-
var anchor = window.location.hash.substring(1);
|
108
|
-
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
|
109
|
-
|
110
|
-
highlightTarget( anchor );
|
111
|
-
};
|
112
|
-
|
113
|
-
function highlightClickTarget( event ) {
|
114
|
-
console.debug( "Highlighting click target for event %o", event.target );
|
115
|
-
try {
|
116
|
-
var anchor = $(event.target).attr( 'href' ).substring(1);
|
117
|
-
console.debug( "Found target anchor: %s", anchor );
|
118
|
-
highlightTarget( anchor );
|
119
|
-
} catch ( err ) {
|
120
|
-
console.error( "Exception while highlighting: %o", err );
|
121
|
-
};
|
122
|
-
};
|
123
|
-
|
124
|
-
function loadAsync(path, success, prefix) {
|
125
|
-
$.ajax({
|
126
|
-
url: prefix + path,
|
127
|
-
dataType: 'script',
|
128
|
-
success: success,
|
129
|
-
cache: true
|
130
|
-
});
|
131
|
-
};
|
132
|
-
|
133
|
-
$(document).ready( function() {
|
81
|
+
document.addEventListener('DOMContentLoaded', function() {
|
134
82
|
hookSourceViews();
|
135
|
-
|
136
|
-
$('ul.link-list a').bind( "click", highlightClickTarget );
|
137
|
-
|
138
|
-
var search_scripts_loaded = {
|
139
|
-
navigation_loaded: false,
|
140
|
-
search_loaded: false,
|
141
|
-
search_index_loaded: false,
|
142
|
-
searcher_loaded: false,
|
143
|
-
}
|
144
|
-
|
145
|
-
var search_success_function = function(variable) {
|
146
|
-
return (function (data, status, xhr) {
|
147
|
-
search_scripts_loaded[variable] = true;
|
148
|
-
|
149
|
-
if (search_scripts_loaded['navigation_loaded'] == true &&
|
150
|
-
search_scripts_loaded['search_loaded'] == true &&
|
151
|
-
search_scripts_loaded['search_index_loaded'] == true &&
|
152
|
-
search_scripts_loaded['searcher_loaded'] == true)
|
153
|
-
hookSearch();
|
154
|
-
});
|
155
|
-
}
|
156
|
-
|
157
|
-
loadAsync('js/navigation.js', search_success_function('navigation_loaded'), rdoc_rel_prefix);
|
158
|
-
loadAsync('js/search.js', search_success_function('search_loaded'), rdoc_rel_prefix);
|
159
|
-
loadAsync('js/search_index.js', search_success_function('search_index_loaded'), index_rel_prefix);
|
160
|
-
loadAsync('js/searcher.js', search_success_function('searcher_loaded'), rdoc_rel_prefix);
|
83
|
+
hookSearch();
|
161
84
|
});
|
data/html/js/navigation.js
CHANGED
@@ -10,10 +10,8 @@ Navigation = new function() {
|
|
10
10
|
this.initNavigation = function() {
|
11
11
|
var _this = this;
|
12
12
|
|
13
|
-
|
13
|
+
document.addEventListener('keydown', function(e) {
|
14
14
|
_this.onkeydown(e);
|
15
|
-
}).keyup(function(e) {
|
16
|
-
_this.onkeyup(e);
|
17
15
|
});
|
18
16
|
|
19
17
|
this.navigationActive = true;
|
@@ -21,20 +19,6 @@ Navigation = new function() {
|
|
21
19
|
|
22
20
|
this.setNavigationActive = function(state) {
|
23
21
|
this.navigationActive = state;
|
24
|
-
this.clearMoveTimeout();
|
25
|
-
}
|
26
|
-
|
27
|
-
this.onkeyup = function(e) {
|
28
|
-
if (!this.navigationActive) return;
|
29
|
-
|
30
|
-
switch(e.keyCode) {
|
31
|
-
case 37: //Event.KEY_LEFT:
|
32
|
-
case 38: //Event.KEY_UP:
|
33
|
-
case 39: //Event.KEY_RIGHT:
|
34
|
-
case 40: //Event.KEY_DOWN:
|
35
|
-
this.clearMoveTimeout();
|
36
|
-
break;
|
37
|
-
}
|
38
22
|
}
|
39
23
|
|
40
24
|
this.onkeydown = function(e) {
|
@@ -46,7 +30,6 @@ Navigation = new function() {
|
|
46
30
|
case 38: //Event.KEY_UP:
|
47
31
|
if (e.keyCode == 38 || e.ctrlKey) {
|
48
32
|
if (this.moveUp()) e.preventDefault();
|
49
|
-
this.startMoveTimeout(false);
|
50
33
|
}
|
51
34
|
break;
|
52
35
|
case 39: //Event.KEY_RIGHT:
|
@@ -55,33 +38,14 @@ Navigation = new function() {
|
|
55
38
|
case 40: //Event.KEY_DOWN:
|
56
39
|
if (e.keyCode == 40 || e.ctrlKey) {
|
57
40
|
if (this.moveDown()) e.preventDefault();
|
58
|
-
this.startMoveTimeout(true);
|
59
41
|
}
|
60
42
|
break;
|
61
43
|
case 13: //Event.KEY_RETURN:
|
62
|
-
if (this
|
63
|
-
this.select(this
|
44
|
+
if (this.current) e.preventDefault();
|
45
|
+
this.select(this.current);
|
64
46
|
break;
|
65
47
|
}
|
66
|
-
if (e.ctrlKey && e.shiftKey) this.select(this
|
67
|
-
}
|
68
|
-
|
69
|
-
this.clearMoveTimeout = function() {
|
70
|
-
clearTimeout(this.moveTimeout);
|
71
|
-
this.moveTimeout = null;
|
72
|
-
}
|
73
|
-
|
74
|
-
this.startMoveTimeout = function(isDown) {
|
75
|
-
if (!$.browser.mozilla && !$.browser.opera) return;
|
76
|
-
if (this.moveTimeout) this.clearMoveTimeout();
|
77
|
-
var _this = this;
|
78
|
-
|
79
|
-
var go = function() {
|
80
|
-
if (!_this.moveTimeout) return;
|
81
|
-
_this[isDown ? 'moveDown' : 'moveUp']();
|
82
|
-
_this.moveTimeout = setTimeout(go, 100);
|
83
|
-
}
|
84
|
-
this.moveTimeout = setTimeout(go, 200);
|
48
|
+
if (e.ctrlKey && e.shiftKey) this.select(this.current);
|
85
49
|
}
|
86
50
|
|
87
51
|
this.moveRight = function() {
|
data/html/js/navigation.js.gz
CHANGED
Binary file
|
data/html/js/search.js
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
Search = function(data, input, result) {
|
2
2
|
this.data = data;
|
3
|
-
this
|
4
|
-
this
|
3
|
+
this.input = input;
|
4
|
+
this.result = result;
|
5
5
|
|
6
|
-
this
|
7
|
-
this
|
6
|
+
this.current = null;
|
7
|
+
this.view = this.result.parentNode;
|
8
8
|
this.searcher = new Searcher(data.index);
|
9
9
|
this.init();
|
10
10
|
}
|
11
11
|
|
12
|
-
Search.prototype =
|
12
|
+
Search.prototype = Object.assign({}, Navigation, new function() {
|
13
13
|
var suid = 1;
|
14
14
|
|
15
15
|
this.init = function() {
|
16
16
|
var _this = this;
|
17
17
|
var observer = function(e) {
|
18
|
-
switch(e.
|
18
|
+
switch(e.keyCode) {
|
19
19
|
case 38: // Event.KEY_UP
|
20
20
|
case 40: // Event.KEY_DOWN
|
21
21
|
return;
|
22
22
|
}
|
23
|
-
_this.search(_this
|
23
|
+
_this.search(_this.input.value);
|
24
24
|
};
|
25
|
-
this
|
26
|
-
this
|
25
|
+
this.input.addEventListener('keyup', observer);
|
26
|
+
this.input.addEventListener('click', observer); // mac's clear field
|
27
27
|
|
28
28
|
this.searcher.ready(function(results, isLast) {
|
29
29
|
_this.addResults(results, isLast);
|
@@ -34,7 +34,7 @@ Search.prototype = $.extend({}, Navigation, new function() {
|
|
34
34
|
}
|
35
35
|
|
36
36
|
this.search = function(value, selectFirstMatch) {
|
37
|
-
value =
|
37
|
+
value = value.trim().toLowerCase();
|
38
38
|
if (value) {
|
39
39
|
this.setNavigationActive(true);
|
40
40
|
} else {
|
@@ -43,23 +43,23 @@ Search.prototype = $.extend({}, Navigation, new function() {
|
|
43
43
|
|
44
44
|
if (value == '') {
|
45
45
|
this.lastQuery = value;
|
46
|
-
this
|
47
|
-
this
|
46
|
+
this.result.innerHTML = '';
|
47
|
+
this.result.setAttribute('aria-expanded', 'false');
|
48
48
|
this.setNavigationActive(false);
|
49
49
|
} else if (value != this.lastQuery) {
|
50
50
|
this.lastQuery = value;
|
51
|
-
this
|
52
|
-
this
|
51
|
+
this.result.setAttribute('aria-busy', 'true');
|
52
|
+
this.result.setAttribute('aria-expanded', 'true');
|
53
53
|
this.firstRun = true;
|
54
54
|
this.searcher.find(value);
|
55
55
|
}
|
56
56
|
}
|
57
57
|
|
58
58
|
this.addResults = function(results, isLast) {
|
59
|
-
var target = this
|
59
|
+
var target = this.result;
|
60
60
|
if (this.firstRun && (results.length > 0 || isLast)) {
|
61
|
-
this
|
62
|
-
this
|
61
|
+
this.current = null;
|
62
|
+
this.result.innerHTML = '';
|
63
63
|
}
|
64
64
|
|
65
65
|
for (var i=0, l = results.length; i < l; i++) {
|
@@ -70,25 +70,26 @@ Search.prototype = $.extend({}, Navigation, new function() {
|
|
70
70
|
|
71
71
|
if (this.firstRun && results.length > 0) {
|
72
72
|
this.firstRun = false;
|
73
|
-
this
|
74
|
-
this
|
73
|
+
this.current = target.firstChild;
|
74
|
+
this.current.classList.add('search-selected');
|
75
75
|
}
|
76
|
-
|
76
|
+
//TODO: ECMAScript
|
77
|
+
//if (jQuery.browser.msie) this.$element[0].className += '';
|
77
78
|
|
78
|
-
if (isLast) this
|
79
|
+
if (isLast) this.result.setAttribute('aria-busy', 'false');
|
79
80
|
}
|
80
81
|
|
81
82
|
this.move = function(isDown) {
|
82
|
-
if (!this
|
83
|
-
var
|
84
|
-
if (
|
85
|
-
this
|
86
|
-
|
87
|
-
this
|
88
|
-
this.scrollIntoView(
|
89
|
-
this
|
90
|
-
this
|
91
|
-
this
|
83
|
+
if (!this.current) return;
|
84
|
+
var next = isDown ? this.current.nextElementSibling : this.current.previousElementSibling;
|
85
|
+
if (next) {
|
86
|
+
this.current.classList.remove('search-selected');
|
87
|
+
next.classList.add('search-selected');
|
88
|
+
this.input.setAttribute('aria-activedescendant', next.getAttribute('id'));
|
89
|
+
this.scrollIntoView(next, this.view);
|
90
|
+
this.current = next;
|
91
|
+
this.input.value = next.firstChild.firstChild.text;
|
92
|
+
this.input.select();
|
92
93
|
}
|
93
94
|
return true;
|
94
95
|
}
|
data/html/js/search_index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["object","wwwjdic","parsableducktype","parser","parsers","dict","display","key","search","server","splitter","utils","downloader","downloader","raisers","wwwjdic","breener()","content()","dictionary()","dictionary=()","download_file()","json_translate()","json_uri()","lines()","load_yaml_file()","message()","new()","new()","new()","parse()","parse()","parse()","parse()","parse()","parse()","raiser_array()","raiser_downcase()","raiser_to_i()","raw_uri()","reset()","server()","server=()","test_parsable_duck_type()","title()","to_s()","translate()","translation()","uri()","changelog","copying","gemfile","readme","rakefile","acknowledgements","authors","copyright","wwwjdic.gemspec"],"longSearchIndex":["object","wwwjdic","wwwjdic::parsableducktype","wwwjdic::parser","wwwjdic::parsers","wwwjdic::parsers::dict","wwwjdic::parsers::display","wwwjdic::parsers::key","wwwjdic::parsers::search","wwwjdic::parsers::server","wwwjdic::splitter","wwwjdic::utils","wwwjdic::utils::downloader","wwwjdic::utils::downloader::downloader","wwwjdic::utils::raisers","wwwjdic::wwwjdic","wwwjdic::breener()","wwwjdic::splitter#content()","wwwjdic::wwwjdic#dictionary()","wwwjdic::wwwjdic#dictionary=()","wwwjdic::utils::downloader::downloader::download_file()","wwwjdic::wwwjdic#json_translate()","wwwjdic::wwwjdic#json_uri()","wwwjdic::splitter#lines()","object#load_yaml_file()","wwwjdic::splitter#message()","wwwjdic::parser::new()","wwwjdic::splitter::new()","wwwjdic::wwwjdic::new()","wwwjdic::parser#parse()","wwwjdic::parsers::dict#parse()","wwwjdic::parsers::display#parse()","wwwjdic::parsers::key#parse()","wwwjdic::parsers::search#parse()","wwwjdic::parsers::server#parse()","wwwjdic::utils::raisers#raiser_array()","wwwjdic::utils::raisers#raiser_downcase()","wwwjdic::utils::raisers#raiser_to_i()","wwwjdic::wwwjdic#raw_uri()","wwwjdic::wwwjdic#reset()","wwwjdic::wwwjdic#server()","wwwjdic::wwwjdic#server=()","wwwjdic::parsableducktype#test_parsable_duck_type()","wwwjdic::splitter#title()","wwwjdic::wwwjdic#to_s()","wwwjdic::wwwjdic#translate()","wwwjdic::splitter#translation()","wwwjdic::wwwjdic#uri()","","","","","","","","",""],"info":[["Object","","Object.html","",""],["WWWJDic","","WWWJDic.html","","<p>Author — Marco Bresciani\n<p>Copyright — Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani\n<p>License … — "],["WWWJDic::ParsableDuckType","","WWWJDic/ParsableDuckType.html","","<p>This module represents the parsable duck type element for testing purposes.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["WWWJDic::Parser","","WWWJDic/Parser.html","","<p>This class is a simple utility that is used to parse and filter parameters for wwwjdic.\n<p>Author — Marco Bresciani …\n"],["WWWJDic::Parsers","","WWWJDic/Parsers.html","",""],["WWWJDic::Parsers::Dict","","WWWJDic/Parsers/Dict.html","","<p>This class is an implementation of the Parsable duck type that checks the dictionary type. The only needed …\n"],["WWWJDic::Parsers::Display","","WWWJDic/Parsers/Display.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Key","","WWWJDic/Parsers/Key.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Search","","WWWJDic/Parsers/Search.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Server","","WWWJDic/Parsers/Server.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Splitter","","WWWJDic/Splitter.html","","<p>This class is a simple API to interact with WWWJDic Backboor Entry/API.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["WWWJDic::Utils","","WWWJDic/Utils.html","","<p>This module is a simple collection of useful things and methods that I prefer to keep as DRYer as possible. …\n"],["WWWJDic::Utils::Downloader","","WWWJDic/Utils/Downloader.html","","<p>This module is a simple wrapper container for Peter R. Marreck's gist.\n<p>Author — Jon Maken\n<p>License — 3-clause …\n"],["WWWJDic::Utils::Downloader::Downloader","","WWWJDic/Utils/Downloader/Downloader.html","","<p>!/usr/bin/env ruby\n\n<pre>An HTTP/HTTPS/FTP file downloader library/CLI based upon\nMiniPortile's HTTP implementation. ...</pre>\n"],["WWWJDic::Utils::Raisers","","WWWJDic/Utils/Raisers.html","","<p>This module contains some utility method to raise errors according to (possibly) common conditions.\n<p>Author … — "],["WWWJDic::WWWJDic","","WWWJDic/WWWJDic.html","","<p>This class is a simple API to interact with WWWJDic Backboor Entry/API.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["breener","WWWJDic","WWWJDic.html#method-c-breener","()","<p>Creates a new WWWJDic object (from the verb 'to Breen'… :) ).\n<p>Usage — <p><code>new_wwwjdic = WWWJDic::breener</code> …\n\n"],["content","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-content","()",""],["dictionary","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-dictionary","()","<p>Return the default used dictionary string, if any.\n<p>Returns — a String with the dictionary full name.\n\n"],["dictionary=","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-dictionary-3D","(dict)","<p>Configure the default used dictionary using either code/number or (exact) string.\n<p>Usage — <tt>new_wwwjdic.dictionary= …\n"],["download_file","WWWJDic::Utils::Downloader::Downloader","WWWJDic/Utils/Downloader/Downloader.html#method-c-download_file","(url, full_path, count = 3)",""],["json_translate","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-json_translate","(word = nil, args = {}, filename = nil)","<p>Save a file, with specified <code>filename</code>, that contains the current wwwjdic configuration, in JSON format. …\n"],["json_uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-json_uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters, with JSON output. …\n"],["lines","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-lines","()",""],["load_yaml_file","Object","Object.html#method-i-load_yaml_file","(locale)",""],["message","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-message","()",""],["new","WWWJDic::Parser","WWWJDic/Parser.html#method-c-new","(args = {})",""],["new","WWWJDic::Splitter","WWWJDic/Splitter.html#method-c-new","(translation)","<p>Creates a <code>Splitter</code> object.\n<p>Usage — <code>new_splitter = Splitter.new translation_content</code>\n<p>Returns — a <code>Splitter</code> object. …\n"],["new","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-c-new","(parser)","<p>Creates a <code>WWWJDic</code> object. This constructor should be used through the WWWJDic::breener method only.\n<p>Usage … — "],["parse","WWWJDic::Parser","WWWJDic/Parser.html#method-i-parse","(method = nil, value = nil)","<p>Provides the duck type for a generic parsing object.\n"],["parse","WWWJDic::Parsers::Dict","WWWJDic/Parsers/Dict.html#method-i-parse","(value = '1')","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Display","WWWJDic/Parsers/Display.html#method-i-parse","(value = :display)","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Key","WWWJDic/Parsers/Key.html#method-i-parse","(value = :exact)","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Search","WWWJDic/Parsers/Search.html#method-i-parse","(value = '')","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Server","WWWJDic/Parsers/Server.html#method-i-parse","(value = :edrdg)","<p>The parsable duck type interface to every parser usage.\n"],["raiser_array","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_array","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the exact <code>value</code>.\n"],["raiser_downcase","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_downcase","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains a downcased <code>value</code>.\n"],["raiser_to_i","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_to_i","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the number of the <code>value</code>.\n"],["raw_uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-raw_uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters, overriding for raw …\n"],["reset","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-reset","()","<p>Restores the original status cleaning up the (possibly) previously saved URIs restoring the default …\n"],["server","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-server","()","<p>Return the selected server URI\n<p>Returns — a String with the dictionary full name.\n\n"],["server=","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-server-3D","(server = :edrdg)","<p>Store the Backdoor Entry/API server name, default to EDRDG.Org (:edrdg) instead of Monash (:monash). …\n"],["test_parsable_duck_type","WWWJDic::ParsableDuckType","WWWJDic/ParsableDuckType.html#method-i-test_parsable_duck_type","()","<p>The method that tests the parsable duck type interface and its <code>parse</code> method.\n"],["title","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-title","()",""],["to_s","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-to_s","()",""],["translate","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-translate","(word = nil, args = {}, filename = nil)","<p>Save a file, with specified <code>filename</code>, that contains the current wwwjdic configuration. Uses the internal …\n"],["translation","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-translation","()",""],["uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters.\n<p>Usage — <tt>new_wwwjdic.uri …\n\n"],["CHANGELOG","","CHANGELOG.html","","<p>Version 13.0.0\n\n<pre>* MAJOR moving from a_gem.required_ruby_version = '~> 2.5' to\n a_gem.required_ruby_version ...</pre>\n"],["COPYING","","COPYING_md.html","","<p>GNU GENERAL PUBLIC LICENSE\n<p>Version 3, 29 June 2007\n<p>Copyright (C) 2007 Free Software Foundation, Inc.\nfsf.org ...\n"],["Gemfile","","Gemfile.html","","<p># wwwjdic # Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part of …\n"],["README","","README_md.html","","<p>WWWJDic\n<p><img src=\"https://img.shields.io/gem/v/wwwjdic.svg?style=plastic\">\n<img src=\"https://img.shields.io/gem/dt/wwwjdic.svg?style=plastic\"> ...\n"],["Rakefile","","Rakefile.html","","<p># wwwjdic # Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part of …\n"],["acknowledgements","","acknowledgements_md.html","","<p>Acknowledgements\n<p>FSIJ理事会の理事長、新部裕さんの日本語の翻訳。 Japanese translation by\nYutaka Niibe, President of Free Software ...\n"],["authors","","authors_md.html","","<p>Project and gem owned by\n<p><em>Author</em>: Marco Bresciani\n\n<p>Authors list (in appearing order)\n"],["copyright","","copyright_md.html","","<p>Copyright Notes\n<p>2019-02-26 update.\n<p>wwwjdic\n"],["wwwjdic.gemspec","","wwwjdic_gemspec.html","","<p># wwwjdic # Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Marco Bresciani # # This file is part of …\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["object","wwwjdic","parsableducktype","parser","parsers","dict","display","key","search","server","splitter","utils","downloader","downloader","raisers","wwwjdic","breener()","content()","dictionary()","dictionary=()","download_file()","json_translate()","json_uri()","lines()","load_yaml_file()","message()","new()","new()","new()","parse()","parse()","parse()","parse()","parse()","parse()","parser()","raiser_array()","raiser_downcase()","raiser_to_i()","raw_uri()","reset()","server()","server=()","test_ask_translation()","test_ask_uri()","test_dictionary_code()","test_dictionary_name()","test_en_it()","test_get_dictionary()","test_get_translation()","test_invalid_param()","test_invalid_parameter()","test_invalid_server()","test_multilanguage()","test_multiple_languages()","test_no_raise()","test_one_locale()","test_override_custom_params()","test_parsable_duck_type()","test_raise()","test_raise_error_param()","test_raise_invalid_server_error()","test_raiser()","test_return_json()","test_return_test_reference()","test_select_server()","test_server()","test_translation()","test_wrong_code()","test_wrong_name()","title()","to_s()","translate()","translation()","uri()","changelog","copying","gemfile","readme","rakefile","copyright"],"longSearchIndex":["object","wwwjdic","wwwjdic::parsableducktype","wwwjdic::parser","wwwjdic::parsers","wwwjdic::parsers::dict","wwwjdic::parsers::display","wwwjdic::parsers::key","wwwjdic::parsers::search","wwwjdic::parsers::server","wwwjdic::splitter","wwwjdic::utils","wwwjdic::utils::downloader","wwwjdic::utils::downloader::downloader","wwwjdic::utils::raisers","wwwjdic::wwwjdic","wwwjdic::breener()","wwwjdic::splitter#content()","wwwjdic::wwwjdic#dictionary()","wwwjdic::wwwjdic#dictionary=()","wwwjdic::utils::downloader::downloader::download_file()","wwwjdic::wwwjdic#json_translate()","wwwjdic::wwwjdic#json_uri()","wwwjdic::splitter#lines()","object#load_yaml_file()","wwwjdic::splitter#message()","wwwjdic::parser::new()","wwwjdic::splitter::new()","wwwjdic::wwwjdic::new()","wwwjdic::parser#parse()","wwwjdic::parsers::dict#parse()","wwwjdic::parsers::display#parse()","wwwjdic::parsers::key#parse()","wwwjdic::parsers::search#parse()","wwwjdic::parsers::server#parse()","wwwjdic::parser()","wwwjdic::utils::raisers#raiser_array()","wwwjdic::utils::raisers#raiser_downcase()","wwwjdic::utils::raisers#raiser_to_i()","wwwjdic::wwwjdic#raw_uri()","wwwjdic::wwwjdic#reset()","wwwjdic::wwwjdic#server()","wwwjdic::wwwjdic#server=()","object#test_ask_translation()","object#test_ask_uri()","object#test_dictionary_code()","object#test_dictionary_name()","object#test_en_it()","object#test_get_dictionary()","object#test_get_translation()","object#test_invalid_param()","object#test_invalid_parameter()","object#test_invalid_server()","object#test_multilanguage()","object#test_multiple_languages()","object#test_no_raise()","object#test_one_locale()","object#test_override_custom_params()","wwwjdic::parsableducktype#test_parsable_duck_type()","object#test_raise()","object#test_raise_error_param()","object#test_raise_invalid_server_error()","object#test_raiser()","object#test_return_json()","object#test_return_test_reference()","object#test_select_server()","object#test_server()","object#test_translation()","object#test_wrong_code()","object#test_wrong_name()","wwwjdic::splitter#title()","wwwjdic::wwwjdic#to_s()","wwwjdic::wwwjdic#translate()","wwwjdic::splitter#translation()","wwwjdic::wwwjdic#uri()","","","","","",""],"info":[["Object","","Object.html","",""],["WWWJDic","","WWWJDic.html","","<p>Author — Marco Bresciani\n<p>Copyright — (C) 2014 Marco Bresciani\n<p>License — GNU General Public License version 3 …\n"],["WWWJDic::ParsableDuckType","","WWWJDic/ParsableDuckType.html","","<p>This module represents the parsable duck type element for testing purposes.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["WWWJDic::Parser","","WWWJDic/Parser.html","","<p>This class is a simple utility that is used to parse and filter parameters for wwwjdic.\n<p>Author — Marco Bresciani …\n"],["WWWJDic::Parsers","","WWWJDic/Parsers.html","",""],["WWWJDic::Parsers::Dict","","WWWJDic/Parsers/Dict.html","","<p>This class is an implementation of the Parsable duck type that checks the dictionary type. The only needed …\n"],["WWWJDic::Parsers::Display","","WWWJDic/Parsers/Display.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Key","","WWWJDic/Parsers/Key.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Search","","WWWJDic/Parsers/Search.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Parsers::Server","","WWWJDic/Parsers/Server.html","","<p>This class is an implementation of the Parsable duck type that checks the display type. The only needed …\n"],["WWWJDic::Splitter","","WWWJDic/Splitter.html","","<p>This class is a simple API to interact with WWWJDic Backboor Entry/API.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["WWWJDic::Utils","","WWWJDic/Utils.html","","<p>This module is a simple collection of useful things and methods that I prefer to keep as DRYer as possible. …\n"],["WWWJDic::Utils::Downloader","","WWWJDic/Utils/Downloader.html","","<p>This module is a simple wrapper container for Peter R. Marreck's gist.\n<p>Author — Jon Maken\n<p>License — 3-clause …\n"],["WWWJDic::Utils::Downloader::Downloader","","WWWJDic/Utils/Downloader/Downloader.html","","<p>An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's HTTP implementation.\n<p>Author … — "],["WWWJDic::Utils::Raisers","","WWWJDic/Utils/Raisers.html","","<p>This module contains some utility method to raise errors according to (possibly) common conditions.\n<p>Author … — "],["WWWJDic::WWWJDic","","WWWJDic/WWWJDic.html","","<p>This class is a simple API to interact with WWWJDic Backboor Entry/API.\n<p>Author — Marco Bresciani\n<p>Copyright … — "],["breener","WWWJDic","WWWJDic.html#method-c-breener","()","<p>Creates a new WWWJDic object (from the verb 'to Breen'… :) ).\n<p>Usage — <p><code>new_wwwjdic = WWWJDic::breener</code> …\n\n"],["content","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-content","()","<p>@return [Array] the arrays of elements containing the answer\n"],["dictionary","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-dictionary","()","<p>Return the default used dictionary string, if any.\n<p>Returns — a String with the dictionary full name.\n\n"],["dictionary=","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-dictionary-3D","(dict)","<p>Configure the default used dictionary using either code/number or (exact) string.\n<p>Usage — <tt>new_wwwjdic.dictionary= …\n"],["download_file","WWWJDic::Utils::Downloader::Downloader","WWWJDic/Utils/Downloader/Downloader.html#method-c-download_file","(url, full_path, count = 3)",""],["json_translate","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-json_translate","(word = nil, args = {}, filename = nil)","<p>Save a file, with specified <code>filename</code>, that contains the current wwwjdic configuration, in JSON format. …\n"],["json_uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-json_uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters, with JSON output. …\n"],["lines","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-lines","()",""],["load_yaml_file","Object","Object.html#method-i-load_yaml_file","(locale)",""],["message","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-message","()",""],["new","WWWJDic::Parser","WWWJDic/Parser.html#method-c-new","(args = {})",""],["new","WWWJDic::Splitter","WWWJDic/Splitter.html#method-c-new","(translation)","<p>Creates a <code>Splitter</code> object.\n<p>Usage — <code>new_splitter = Splitter.new translation_content</code>\n<p>Returns — a <code>Splitter</code> object. …\n"],["new","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-c-new","(parser)","<p>Creates a <code>WWWJDic</code> object. This constructor should be used through the WWWJDic::breener method only.\n<p>Usage … — "],["parse","WWWJDic::Parser","WWWJDic/Parser.html#method-i-parse","(method = nil, params = nil)","<p>Provides the duck type for a generic parsing object.\n"],["parse","WWWJDic::Parsers::Dict","WWWJDic/Parsers/Dict.html#method-i-parse","(value = '1')","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Display","WWWJDic/Parsers/Display.html#method-i-parse","(value = :display)","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Key","WWWJDic/Parsers/Key.html#method-i-parse","(value = :english)","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Search","WWWJDic/Parsers/Search.html#method-i-parse","(value = '')","<p>The parsable duck type interface to every parser usage.\n"],["parse","WWWJDic::Parsers::Server","WWWJDic/Parsers/Server.html#method-i-parse","(value = :edrdg)","<p>The parsable duck type interface to every parser usage.\n"],["parser","WWWJDic","WWWJDic.html#method-c-parser","()","<p>Provides the parameters' parsers object.\n"],["raiser_array","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_array","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the exact <code>value</code>.\n"],["raiser_downcase","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_downcase","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains a downcased <code>value</code>.\n"],["raiser_to_i","WWWJDic::Utils::Raisers","WWWJDic/Utils/Raisers.html#method-i-raiser_to_i","(name = 'error.value', value = nil, array = nil)","<p>Raises an <code>ArgumentError</code> according to parameters, unless the <code>array</code> contains the number of the <code>value</code>.\n"],["raw_uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-raw_uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters, overriding for raw …\n"],["reset","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-reset","()","<p>Restores the original status cleaning up the (possibly) previously saved URIs restoring the default …\n"],["server","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-server","()","<p>Return the selected server URI\n<p>Returns — a String with the dictionary full name.\n\n"],["server=","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-server-3D","(server = :edrdg)","<p>Store the Backdoor Entry/API server name, default to EDRDG.Org (:edrdg) instead of Monash (:monash). …\n"],["test_ask_translation","Object","Object.html#method-i-test_ask_translation","()",""],["test_ask_uri","Object","Object.html#method-i-test_ask_uri","()",""],["test_dictionary_code","Object","Object.html#method-i-test_dictionary_code","()",""],["test_dictionary_name","Object","Object.html#method-i-test_dictionary_name","()",""],["test_en_it","Object","Object.html#method-i-test_en_it","()",""],["test_get_dictionary","Object","Object.html#method-i-test_get_dictionary","()",""],["test_get_translation","Object","Object.html#method-i-test_get_translation","()",""],["test_invalid_param","Object","Object.html#method-i-test_invalid_param","()",""],["test_invalid_parameter","Object","Object.html#method-i-test_invalid_parameter","(a_word)",""],["test_invalid_server","Object","Object.html#method-i-test_invalid_server","()",""],["test_multilanguage","Object","Object.html#method-i-test_multilanguage","(a_method)",""],["test_multiple_languages","Object","Object.html#method-i-test_multiple_languages","()",""],["test_no_raise","Object","Object.html#method-i-test_no_raise","()",""],["test_one_locale","Object","Object.html#method-i-test_one_locale","()",""],["test_override_custom_params","Object","Object.html#method-i-test_override_custom_params","(a_word, dict)",""],["test_parsable_duck_type","WWWJDic::ParsableDuckType","WWWJDic/ParsableDuckType.html#method-i-test_parsable_duck_type","()","<p>The method that tests the parsable duck type interface and its <code>parse</code> method.\n"],["test_raise","Object","Object.html#method-i-test_raise","()",""],["test_raise_error_param","Object","Object.html#method-i-test_raise_error_param","(param)",""],["test_raise_invalid_server_error","Object","Object.html#method-i-test_raise_invalid_server_error","(a_server)",""],["test_raiser","Object","Object.html#method-i-test_raiser","()",""],["test_return_json","Object","Object.html#method-i-test_return_json","(a_word, dict)",""],["test_return_test_reference","Object","Object.html#method-i-test_return_test_reference","()",""],["test_select_server","Object","Object.html#method-i-test_select_server","()",""],["test_server","Object","Object.html#method-i-test_server","()",""],["test_translation","Object","Object.html#method-i-test_translation","(locale, translation)",""],["test_wrong_code","Object","Object.html#method-i-test_wrong_code","()",""],["test_wrong_name","Object","Object.html#method-i-test_wrong_name","()",""],["title","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-title","()",""],["to_s","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-to_s","()",""],["translate","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-translate","(word = nil, args = {}, filename = nil)","<p>Save a file, with specified <code>filename</code>, that contains the current wwwjdic configuration. Uses the internal …\n"],["translation","WWWJDic::Splitter","WWWJDic/Splitter.html#method-i-translation","()",""],["uri","WWWJDic::WWWJDic","WWWJDic/WWWJDic.html#method-i-uri","(word = nil, args = {})","<p>Create the reference uri for a <code>word</code> translation, according to specified parameters.\n<p>Usage — <tt>new_wwwjdic.uri …\n\n"],["CHANGELOG","","CHANGELOG.html","","<p>Version 16.0.0\n\n<pre>* MAJOR update from Ruby '~> 2.7' to Ruby '~> 3.0'.\n* MINOR update IntelliJ IDEA (RubyGem) ...</pre>\n"],["COPYING","","COPYING_md.html","","<p>GNU GENERAL PUBLIC LICENSE\n<p>Version 3, 29 June 2007\n<p>Copyright (C) 2007 Free Software Foundation, Inc.\nfsf.org ...\n"],["Gemfile","","Gemfile.html","","<p># frozen_string_literal: true\n<p># wwwjdic # rubocop:disable Style/AsciiComments # © 2014 Marco Bresciani …\n"],["README","","README_md.html","","<p>WWWJDic\n<p><img src=\"https://badgen.net/rubygems/n/wwwjdic\">\n<img src=\"https://badgen.net/rubygems/v/wwwjdic/latest\"> ...\n"],["Rakefile","","Rakefile.html","","<p># frozen_string_literal: true\n<p># wwwjdic # rubocop:disable Style/AsciiComments # © 2014 Marco Bresciani …\n"],["copyright","","copyright_md.html","","<p>Copyright Notes\n<p>2020-11-10 update.\n<p>wwwjdic\n"]]}}
|
data/html/js/search_index.js.gz
CHANGED
Binary file
|
data/html/js/searcher.js
CHANGED
@@ -51,20 +51,20 @@ Searcher.prototype = new function() {
|
|
51
51
|
|
52
52
|
/* ----- Utilities ------ */
|
53
53
|
function splitQuery(query) {
|
54
|
-
return
|
54
|
+
return query.split(/(\s+|::?|\(\)?)/).filter(function(string) {
|
55
55
|
return string.match(/\S/);
|
56
56
|
});
|
57
57
|
}
|
58
58
|
|
59
59
|
function buildRegexps(queries) {
|
60
|
-
return
|
60
|
+
return queries.map(function(query) {
|
61
61
|
return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
|
62
62
|
});
|
63
63
|
}
|
64
64
|
|
65
65
|
function buildHilighters(queries) {
|
66
|
-
return
|
67
|
-
return
|
66
|
+
return queries.map(function(query) {
|
67
|
+
return query.split('').map(function(l, i) {
|
68
68
|
return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
|
69
69
|
}).join('');
|
70
70
|
});
|
@@ -221,9 +221,9 @@ Searcher.prototype = new function() {
|
|
221
221
|
}
|
222
222
|
|
223
223
|
function triggerResults(results, isLast) {
|
224
|
-
|
224
|
+
this.handlers.forEach(function(fn) {
|
225
225
|
fn.call(this, results, isLast)
|
226
|
-
})
|
226
|
+
});
|
227
227
|
}
|
228
228
|
}
|
229
229
|
|
data/html/js/searcher.js.gz
CHANGED
Binary file
|
data/html/table_of_contents.html
CHANGED
@@ -4,366 +4,195 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="UTF-8">
|
6
6
|
|
7
|
-
<title>Table of Contents - wwwjdic
|
7
|
+
<title>Table of Contents - 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/
|
15
|
-
<script src="./js/
|
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" class="table-of-contents">
|
24
25
|
<main role="main">
|
25
|
-
<h1 class="class">Table of Contents - wwwjdic
|
26
|
-
|
27
|
-
|
26
|
+
<h1 class="class">Table of Contents - wwwjdic 16.0.0</h1>
|
28
27
|
|
29
28
|
<h2 id="pages">Pages</h2>
|
30
29
|
<ul>
|
31
|
-
|
32
30
|
<li class="file">
|
33
31
|
<a href="CHANGELOG.html">CHANGELOG</a>
|
34
32
|
|
35
33
|
<ul>
|
36
|
-
|
34
|
+
<li><a href="CHANGELOG.html#label-Version+16.0.0">Version 16.0.0</a>
|
35
|
+
<li><a href="CHANGELOG.html#label-Version+15.0.0">Version 15.0.0</a>
|
36
|
+
<li><a href="CHANGELOG.html#label-Version+14.0.0">Version 14.0.0</a>
|
37
|
+
<li><a href="CHANGELOG.html#label-Version+13.0.1">Version 13.0.1</a>
|
37
38
|
<li><a href="CHANGELOG.html#label-Version+13.0.0">Version 13.0.0</a>
|
38
|
-
|
39
39
|
<li><a href="CHANGELOG.html#label-Version+12.0.0">Version 12.0.0</a>
|
40
|
-
|
41
40
|
<li><a href="CHANGELOG.html#label-Version+11.0.0">Version 11.0.0</a>
|
42
|
-
|
43
41
|
<li><a href="CHANGELOG.html#label-Version+10.0.0">Version 10.0.0</a>
|
44
|
-
|
45
42
|
<li><a href="CHANGELOG.html#label-Version+9.3.0">Version 9.3.0</a>
|
46
|
-
|
47
43
|
<li><a href="CHANGELOG.html#label-Version+9.2.0">Version 9.2.0</a>
|
48
|
-
|
49
44
|
<li><a href="CHANGELOG.html#label-Version+9.1.0">Version 9.1.0</a>
|
50
|
-
|
51
45
|
<li><a href="CHANGELOG.html#label-Version+9.0.4">Version 9.0.4</a>
|
52
|
-
|
53
46
|
<li><a href="CHANGELOG.html#label-Version+9.0.3">Version 9.0.3</a>
|
54
|
-
|
55
47
|
<li><a href="CHANGELOG.html#label-Version+9.0.2">Version 9.0.2</a>
|
56
|
-
|
57
48
|
<li><a href="CHANGELOG.html#label-Version+9.0.2-pre">Version 9.0.2-pre</a>
|
58
|
-
|
59
49
|
<li><a href="CHANGELOG.html#label-Version+9.0.1">Version 9.0.1</a>
|
60
|
-
|
61
50
|
<li><a href="CHANGELOG.html#label-Version+8.0.1">Version 8.0.1</a>
|
62
|
-
|
63
51
|
<li><a href="CHANGELOG.html#label-Version+7.1.3.pre">Version 7.1.3.pre</a>
|
64
|
-
|
65
52
|
<li><a href="CHANGELOG.html#label-Version+7.1.2">Version 7.1.2</a>
|
66
|
-
|
67
53
|
<li><a href="CHANGELOG.html#label-Version+7.1.1">Version 7.1.1</a>
|
68
|
-
|
69
54
|
<li><a href="CHANGELOG.html#label-Version+7.1.0">Version 7.1.0</a>
|
70
|
-
|
71
55
|
<li><a href="CHANGELOG.html#label-Version+7.0.0">Version 7.0.0</a>
|
72
|
-
|
73
56
|
<li><a href="CHANGELOG.html#label-Version+7.0.0.pre">Version 7.0.0.pre</a>
|
74
|
-
|
75
57
|
<li><a href="CHANGELOG.html#label-Version+6.2.0">Version 6.2.0</a>
|
76
|
-
|
77
58
|
<li><a href="CHANGELOG.html#label-Version+6.1.1">Version 6.1.1</a>
|
78
|
-
|
79
59
|
<li><a href="CHANGELOG.html#label-Version+6.0.1">Version 6.0.1</a>
|
80
|
-
|
81
60
|
<li><a href="CHANGELOG.html#label-Version+5.4.0">Version 5.4.0</a>
|
82
|
-
|
83
61
|
<li><a href="CHANGELOG.html#label-Version+5.2.2">Version 5.2.2</a>
|
84
|
-
|
85
62
|
<li><a href="CHANGELOG.html#label-Version+5.1.3">Version 5.1.3</a>
|
86
|
-
|
87
63
|
<li><a href="CHANGELOG.html#label-Version+2.11.2.pre.pre">Version 2.11.2.pre.pre</a>
|
88
|
-
|
89
64
|
<li><a href="CHANGELOG.html#label-Version+2.11.2.pre">Version 2.11.2.pre</a>
|
90
|
-
|
91
65
|
<li><a href="CHANGELOG.html#label-Version+2.11.1">Version 2.11.1</a>
|
92
|
-
|
93
66
|
<li><a href="CHANGELOG.html#label-Version+2.3.1">Version 2.3.1</a>
|
94
|
-
|
95
67
|
<li><a href="CHANGELOG.html#label-Version+2.2.15">Version 2.2.15</a>
|
96
|
-
|
97
68
|
<li><a href="CHANGELOG.html#label-Version+2.2.13">Version 2.2.13</a>
|
98
|
-
|
99
69
|
<li><a href="CHANGELOG.html#label-Version+2.2.11">Version 2.2.11</a>
|
100
|
-
|
101
70
|
<li><a href="CHANGELOG.html#label-Version+2.1.9">Version 2.1.9</a>
|
102
|
-
|
103
71
|
<li><a href="CHANGELOG.html#label-Version+2.1.4">Version 2.1.4</a>
|
104
|
-
|
105
72
|
<li><a href="CHANGELOG.html#label-Version+2.1.3">Version 2.1.3</a>
|
106
|
-
|
107
73
|
<li><a href="CHANGELOG.html#label-Version+2.1.1">Version 2.1.1</a>
|
108
|
-
|
109
74
|
<li><a href="CHANGELOG.html#label-Version+1.2.4">Version 1.2.4</a>
|
110
|
-
|
111
75
|
<li><a href="CHANGELOG.html#label-Version+1.2.2">Version 1.2.2</a>
|
112
|
-
|
113
76
|
<li><a href="CHANGELOG.html#label-Version+1.1.2">Version 1.1.2</a>
|
114
|
-
|
115
77
|
<li><a href="CHANGELOG.html#label-Version+0.0.0">Version 0.0.0</a>
|
116
|
-
|
117
78
|
</ul>
|
118
|
-
|
119
79
|
</li>
|
120
|
-
|
121
80
|
<li class="file">
|
122
81
|
<a href="COPYING_md.html">COPYING</a>
|
123
82
|
|
124
83
|
<ul>
|
125
|
-
|
126
84
|
<li><a href="COPYING_md.html#label-GNU+GENERAL+PUBLIC+LICENSE">GNU GENERAL PUBLIC LICENSE</a>
|
127
|
-
|
128
85
|
<li><a href="COPYING_md.html#label-Preamble">Preamble</a>
|
129
|
-
|
130
86
|
<li><a href="COPYING_md.html#label-TERMS+AND+CONDITIONS">TERMS AND CONDITIONS</a>
|
131
|
-
|
132
87
|
<li><a href="COPYING_md.html#label-0.+Definitions.">0. Definitions.</a>
|
133
|
-
|
134
88
|
<li><a href="COPYING_md.html#label-1.+Source+Code.">1. Source Code.</a>
|
135
|
-
|
136
89
|
<li><a href="COPYING_md.html#label-2.+Basic+Permissions.">2. Basic Permissions.</a>
|
137
|
-
|
138
90
|
<li><a href="COPYING_md.html#label-3.+Protecting+Users-27+Legal+Rights+From+Anti-Circumvention+Law.">3. Protecting Users' Legal Rights From Anti-Circumvention Law.</a>
|
139
|
-
|
140
91
|
<li><a href="COPYING_md.html#label-4.+Conveying+Verbatim+Copies.">4. Conveying Verbatim Copies.</a>
|
141
|
-
|
142
92
|
<li><a href="COPYING_md.html#label-5.+Conveying+Modified+Source+Versions.">5. Conveying Modified Source Versions.</a>
|
143
|
-
|
144
93
|
<li><a href="COPYING_md.html#label-6.+Conveying+Non-Source+Forms.">6. Conveying Non-Source Forms.</a>
|
145
|
-
|
146
94
|
<li><a href="COPYING_md.html#label-7.+Additional+Terms.">7. Additional Terms.</a>
|
147
|
-
|
148
95
|
<li><a href="COPYING_md.html#label-8.+Termination.">8. Termination.</a>
|
149
|
-
|
150
96
|
<li><a href="COPYING_md.html#label-9.+Acceptance+Not+Required+for+Having+Copies.">9. Acceptance Not Required for Having Copies.</a>
|
151
|
-
|
152
97
|
<li><a href="COPYING_md.html#label-10.+Automatic+Licensing+of+Downstream+Recipients.">10. Automatic Licensing of Downstream Recipients.</a>
|
153
|
-
|
154
98
|
<li><a href="COPYING_md.html#label-11.+Patents.">11. Patents.</a>
|
155
|
-
|
156
99
|
<li><a href="COPYING_md.html#label-12.+No+Surrender+of+Others-27+Freedom.">12. No Surrender of Others' Freedom.</a>
|
157
|
-
|
158
100
|
<li><a href="COPYING_md.html#label-13.+Use+with+the+GNU+Affero+General+Public+License.">13. Use with the GNU Affero General Public License.</a>
|
159
|
-
|
160
101
|
<li><a href="COPYING_md.html#label-14.+Revised+Versions+of+this+License.">14. Revised Versions of this License.</a>
|
161
|
-
|
162
102
|
<li><a href="COPYING_md.html#label-15.+Disclaimer+of+Warranty.">15. Disclaimer of Warranty.</a>
|
163
|
-
|
164
103
|
<li><a href="COPYING_md.html#label-16.+Limitation+of+Liability.">16. Limitation of Liability.</a>
|
165
|
-
|
166
104
|
<li><a href="COPYING_md.html#label-17.+Interpretation+of+Sections+15+and+16.">17. Interpretation of Sections 15 and 16.</a>
|
167
|
-
|
168
105
|
<li><a href="COPYING_md.html#label-How+to+Apply+These+Terms+to+Your+New+Programs">How to Apply These Terms to Your New Programs</a>
|
169
|
-
|
170
106
|
</ul>
|
171
|
-
|
172
107
|
</li>
|
173
|
-
|
174
108
|
<li class="file">
|
175
109
|
<a href="Gemfile.html">Gemfile</a>
|
176
|
-
|
177
110
|
</li>
|
178
|
-
|
179
111
|
<li class="file">
|
180
112
|
<a href="README_md.html">README</a>
|
181
113
|
|
182
114
|
<ul>
|
183
|
-
|
184
115
|
<li><a href="README_md.html#label-WWWJDic">WWWJDic</a>
|
185
|
-
|
186
|
-
<li><a href="README_md.html#label-
|
187
|
-
|
188
|
-
<li><a href="README_md.html#label-Documentation">Documentation</a>
|
189
|
-
|
190
|
-
<li><a href="README_md.html#label-Installing+WWWJDic">Installing WWWJDic</a>
|
191
|
-
|
192
|
-
<li><a href="README_md.html#label-Supported+Ruby+Versions+and+Implementations">Supported Ruby Versions and Implementations</a>
|
193
|
-
|
194
|
-
<li><a href="README_md.html#label-Support">Support</a>
|
195
|
-
|
196
|
-
<li><a href="README_md.html#label-Contributing">Contributing</a>
|
197
|
-
|
198
|
-
<li><a href="README_md.html#label-License">License</a>
|
199
|
-
|
200
|
-
<li><a href="README_md.html#label-Links">Links</a>
|
201
|
-
|
116
|
+
<li><a href="README_md.html#label-Table+of+Contents">Table of Contents</a>
|
117
|
+
<li><a href="README_md.html#label-Background">Background</a>
|
118
|
+
<li><a href="README_md.html#label-Install">Install</a>
|
202
119
|
<li><a href="README_md.html#label-Savannah">Savannah</a>
|
203
|
-
|
204
120
|
<li><a href="README_md.html#label-RubyGems">RubyGems</a>
|
205
|
-
|
206
|
-
<li><a href="README_md.html#label-
|
207
|
-
|
208
|
-
<li><a href="README_md.html#label-
|
209
|
-
|
210
|
-
<li><a href="README_md.html#label-Parameters">Parameters</a>
|
211
|
-
|
121
|
+
<li><a href="README_md.html#label-Usage">Usage</a>
|
122
|
+
<li><a href="README_md.html#label-Maintainers">Maintainers</a>
|
123
|
+
<li><a href="README_md.html#label-Thanks">Thanks</a>
|
124
|
+
<li><a href="README_md.html#label-Contributing">Contributing</a>
|
125
|
+
<li><a href="README_md.html#label-License">License</a>
|
212
126
|
</ul>
|
213
|
-
|
214
127
|
</li>
|
215
|
-
|
216
128
|
<li class="file">
|
217
129
|
<a href="Rakefile.html">Rakefile</a>
|
218
|
-
|
219
|
-
</li>
|
220
|
-
|
221
|
-
<li class="file">
|
222
|
-
<a href="acknowledgements_md.html">acknowledgements</a>
|
223
|
-
|
224
|
-
<ul>
|
225
|
-
|
226
|
-
<li><a href="acknowledgements_md.html#label-Acknowledgements">Acknowledgements</a>
|
227
|
-
|
228
|
-
<li><a href="acknowledgements_md.html#label-An+HTTP-2FHTTPS-2FFTP+file+downloader+library-2FCLI+based+upon+MiniPortile-27s+HTTP+implementation.">An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's HTTP implementation.</a>
|
229
|
-
|
230
|
-
</ul>
|
231
|
-
|
232
|
-
</li>
|
233
|
-
|
234
|
-
<li class="file">
|
235
|
-
<a href="authors_md.html">authors</a>
|
236
|
-
|
237
|
-
<ul>
|
238
|
-
|
239
|
-
<li><a href="authors_md.html#label-Project+and+gem+owned+by">Project and gem owned by</a>
|
240
|
-
|
241
|
-
<li><a href="authors_md.html#label-Authors+list+-28in+appearing+order-29">Authors list (in appearing order)</a>
|
242
|
-
|
243
|
-
<li><a href="authors_md.html#label-Translations+Authors+-28in+appearing+order-29">Translations Authors (in appearing order)</a>
|
244
|
-
|
245
|
-
</ul>
|
246
|
-
|
247
130
|
</li>
|
248
|
-
|
249
131
|
<li class="file">
|
250
132
|
<a href="copyright_md.html">copyright</a>
|
251
133
|
|
252
134
|
<ul>
|
253
|
-
|
254
135
|
<li><a href="copyright_md.html#label-Copyright+Notes">Copyright Notes</a>
|
255
|
-
|
256
136
|
<li><a href="copyright_md.html#label-RDoc">RDoc</a>
|
257
|
-
|
258
137
|
<li><a href="copyright_md.html#label-Darkfish+-28darkfish.js+-26+rdoc.css-29">Darkfish (darkfish.js & rdoc.css)</a>
|
259
|
-
|
260
138
|
<li><a href="copyright_md.html#label-Sorce+Code+Pro+Font+-28-26+fonts.css-29">Sorce Code Pro Font (& fonts.css)</a>
|
261
|
-
|
262
139
|
<li><a href="copyright_md.html#label-Lato+Font">Lato Font</a>
|
263
|
-
|
264
140
|
<li><a href="copyright_md.html#label-Silk+Icons">Silk Icons</a>
|
265
|
-
|
266
|
-
<li><a href="copyright_md.html#label-jquery.js">jquery.js</a>
|
267
|
-
|
268
|
-
<li><a href="copyright_md.html#label-Sizzle.js">Sizzle.js</a>
|
269
|
-
|
270
141
|
<li><a href="copyright_md.html#label-JsonIndex+generator+-28navigation.js+-26+search.js+-26+search_index.js+-26+searcher.js-29">JsonIndex generator (navigation.js & search.js & search_index.js & searcher.js)</a>
|
271
|
-
|
272
142
|
</ul>
|
273
|
-
|
274
143
|
</li>
|
275
|
-
|
276
|
-
<li class="file">
|
277
|
-
<a href="wwwjdic_gemspec.html">wwwjdic.gemspec</a>
|
278
|
-
|
279
|
-
</li>
|
280
|
-
|
281
144
|
</ul>
|
282
145
|
|
283
|
-
|
284
146
|
<h2 id="classes">Classes and Modules</h2>
|
285
147
|
<ul>
|
286
|
-
|
287
148
|
<li class="class">
|
288
149
|
<a href="Object.html">Object</a>
|
289
|
-
|
290
150
|
</li>
|
291
|
-
|
292
151
|
<li class="module">
|
293
152
|
<a href="WWWJDic.html">WWWJDic</a>
|
294
|
-
|
295
153
|
</li>
|
296
|
-
|
297
154
|
<li class="module">
|
298
155
|
<a href="WWWJDic/ParsableDuckType.html">WWWJDic::ParsableDuckType</a>
|
299
|
-
|
300
156
|
</li>
|
301
|
-
|
302
157
|
<li class="class">
|
303
158
|
<a href="WWWJDic/Parser.html">WWWJDic::Parser</a>
|
304
|
-
|
305
159
|
</li>
|
306
|
-
|
307
160
|
<li class="module">
|
308
161
|
<a href="WWWJDic/Parsers.html">WWWJDic::Parsers</a>
|
309
|
-
|
310
162
|
</li>
|
311
|
-
|
312
163
|
<li class="class">
|
313
164
|
<a href="WWWJDic/Parsers/Dict.html">WWWJDic::Parsers::Dict</a>
|
314
|
-
|
315
165
|
</li>
|
316
|
-
|
317
166
|
<li class="class">
|
318
167
|
<a href="WWWJDic/Parsers/Display.html">WWWJDic::Parsers::Display</a>
|
319
|
-
|
320
168
|
</li>
|
321
|
-
|
322
169
|
<li class="class">
|
323
170
|
<a href="WWWJDic/Parsers/Key.html">WWWJDic::Parsers::Key</a>
|
324
|
-
|
325
171
|
</li>
|
326
|
-
|
327
172
|
<li class="class">
|
328
173
|
<a href="WWWJDic/Parsers/Search.html">WWWJDic::Parsers::Search</a>
|
329
|
-
|
330
174
|
</li>
|
331
|
-
|
332
175
|
<li class="class">
|
333
176
|
<a href="WWWJDic/Parsers/Server.html">WWWJDic::Parsers::Server</a>
|
334
|
-
|
335
177
|
</li>
|
336
|
-
|
337
178
|
<li class="class">
|
338
179
|
<a href="WWWJDic/Splitter.html">WWWJDic::Splitter</a>
|
339
|
-
|
340
180
|
</li>
|
341
|
-
|
342
181
|
<li class="module">
|
343
182
|
<a href="WWWJDic/Utils.html">WWWJDic::Utils</a>
|
344
|
-
|
345
183
|
</li>
|
346
|
-
|
347
184
|
<li class="module">
|
348
185
|
<a href="WWWJDic/Utils/Downloader.html">WWWJDic::Utils::Downloader</a>
|
349
|
-
|
350
186
|
</li>
|
351
|
-
|
352
187
|
<li class="class">
|
353
188
|
<a href="WWWJDic/Utils/Downloader/Downloader.html">WWWJDic::Utils::Downloader::Downloader</a>
|
354
|
-
|
355
189
|
</li>
|
356
|
-
|
357
190
|
<li class="module">
|
358
191
|
<a href="WWWJDic/Utils/Raisers.html">WWWJDic::Utils::Raisers</a>
|
359
|
-
|
360
192
|
</li>
|
361
|
-
|
362
193
|
<li class="class">
|
363
194
|
<a href="WWWJDic/WWWJDic.html">WWWJDic::WWWJDic</a>
|
364
|
-
|
365
195
|
</li>
|
366
|
-
|
367
196
|
</ul>
|
368
197
|
|
369
198
|
<h2 id="methods">Methods</h2>
|
@@ -394,6 +223,11 @@
|
|
394
223
|
—
|
395
224
|
<span class="container">WWWJDic::Parser</span>
|
396
225
|
|
226
|
+
<li class="method">
|
227
|
+
<a href="WWWJDic.html#method-c-parser">::parser</a>
|
228
|
+
—
|
229
|
+
<span class="container">WWWJDic</span>
|
230
|
+
|
397
231
|
<li class="method">
|
398
232
|
<a href="WWWJDic/Splitter.html#method-i-content">#content</a>
|
399
233
|
—
|
@@ -434,11 +268,6 @@
|
|
434
268
|
—
|
435
269
|
<span class="container">WWWJDic::Splitter</span>
|
436
270
|
|
437
|
-
<li class="method">
|
438
|
-
<a href="WWWJDic/Parser.html#method-i-parse">#parse</a>
|
439
|
-
—
|
440
|
-
<span class="container">WWWJDic::Parser</span>
|
441
|
-
|
442
271
|
<li class="method">
|
443
272
|
<a href="WWWJDic/Parsers/Dict.html#method-i-parse">#parse</a>
|
444
273
|
—
|
@@ -464,6 +293,11 @@
|
|
464
293
|
—
|
465
294
|
<span class="container">WWWJDic::Parsers::Server</span>
|
466
295
|
|
296
|
+
<li class="method">
|
297
|
+
<a href="WWWJDic/Parser.html#method-i-parse">#parse</a>
|
298
|
+
—
|
299
|
+
<span class="container">WWWJDic::Parser</span>
|
300
|
+
|
467
301
|
<li class="method">
|
468
302
|
<a href="WWWJDic/Utils/Raisers.html#method-i-raiser_array">#raiser_array</a>
|
469
303
|
—
|
@@ -499,11 +333,141 @@
|
|
499
333
|
—
|
500
334
|
<span class="container">WWWJDic::WWWJDic</span>
|
501
335
|
|
336
|
+
<li class="method">
|
337
|
+
<a href="Object.html#method-i-test_ask_translation">#test_ask_translation</a>
|
338
|
+
—
|
339
|
+
<span class="container">Object</span>
|
340
|
+
|
341
|
+
<li class="method">
|
342
|
+
<a href="Object.html#method-i-test_ask_uri">#test_ask_uri</a>
|
343
|
+
—
|
344
|
+
<span class="container">Object</span>
|
345
|
+
|
346
|
+
<li class="method">
|
347
|
+
<a href="Object.html#method-i-test_dictionary_code">#test_dictionary_code</a>
|
348
|
+
—
|
349
|
+
<span class="container">Object</span>
|
350
|
+
|
351
|
+
<li class="method">
|
352
|
+
<a href="Object.html#method-i-test_dictionary_name">#test_dictionary_name</a>
|
353
|
+
—
|
354
|
+
<span class="container">Object</span>
|
355
|
+
|
356
|
+
<li class="method">
|
357
|
+
<a href="Object.html#method-i-test_en_it">#test_en_it</a>
|
358
|
+
—
|
359
|
+
<span class="container">Object</span>
|
360
|
+
|
361
|
+
<li class="method">
|
362
|
+
<a href="Object.html#method-i-test_get_dictionary">#test_get_dictionary</a>
|
363
|
+
—
|
364
|
+
<span class="container">Object</span>
|
365
|
+
|
366
|
+
<li class="method">
|
367
|
+
<a href="Object.html#method-i-test_get_translation">#test_get_translation</a>
|
368
|
+
—
|
369
|
+
<span class="container">Object</span>
|
370
|
+
|
371
|
+
<li class="method">
|
372
|
+
<a href="Object.html#method-i-test_invalid_param">#test_invalid_param</a>
|
373
|
+
—
|
374
|
+
<span class="container">Object</span>
|
375
|
+
|
376
|
+
<li class="method">
|
377
|
+
<a href="Object.html#method-i-test_invalid_parameter">#test_invalid_parameter</a>
|
378
|
+
—
|
379
|
+
<span class="container">Object</span>
|
380
|
+
|
381
|
+
<li class="method">
|
382
|
+
<a href="Object.html#method-i-test_invalid_server">#test_invalid_server</a>
|
383
|
+
—
|
384
|
+
<span class="container">Object</span>
|
385
|
+
|
386
|
+
<li class="method">
|
387
|
+
<a href="Object.html#method-i-test_multilanguage">#test_multilanguage</a>
|
388
|
+
—
|
389
|
+
<span class="container">Object</span>
|
390
|
+
|
391
|
+
<li class="method">
|
392
|
+
<a href="Object.html#method-i-test_multiple_languages">#test_multiple_languages</a>
|
393
|
+
—
|
394
|
+
<span class="container">Object</span>
|
395
|
+
|
396
|
+
<li class="method">
|
397
|
+
<a href="Object.html#method-i-test_no_raise">#test_no_raise</a>
|
398
|
+
—
|
399
|
+
<span class="container">Object</span>
|
400
|
+
|
401
|
+
<li class="method">
|
402
|
+
<a href="Object.html#method-i-test_one_locale">#test_one_locale</a>
|
403
|
+
—
|
404
|
+
<span class="container">Object</span>
|
405
|
+
|
406
|
+
<li class="method">
|
407
|
+
<a href="Object.html#method-i-test_override_custom_params">#test_override_custom_params</a>
|
408
|
+
—
|
409
|
+
<span class="container">Object</span>
|
410
|
+
|
502
411
|
<li class="method">
|
503
412
|
<a href="WWWJDic/ParsableDuckType.html#method-i-test_parsable_duck_type">#test_parsable_duck_type</a>
|
504
413
|
—
|
505
414
|
<span class="container">WWWJDic::ParsableDuckType</span>
|
506
415
|
|
416
|
+
<li class="method">
|
417
|
+
<a href="Object.html#method-i-test_raise">#test_raise</a>
|
418
|
+
—
|
419
|
+
<span class="container">Object</span>
|
420
|
+
|
421
|
+
<li class="method">
|
422
|
+
<a href="Object.html#method-i-test_raise_error_param">#test_raise_error_param</a>
|
423
|
+
—
|
424
|
+
<span class="container">Object</span>
|
425
|
+
|
426
|
+
<li class="method">
|
427
|
+
<a href="Object.html#method-i-test_raise_invalid_server_error">#test_raise_invalid_server_error</a>
|
428
|
+
—
|
429
|
+
<span class="container">Object</span>
|
430
|
+
|
431
|
+
<li class="method">
|
432
|
+
<a href="Object.html#method-i-test_raiser">#test_raiser</a>
|
433
|
+
—
|
434
|
+
<span class="container">Object</span>
|
435
|
+
|
436
|
+
<li class="method">
|
437
|
+
<a href="Object.html#method-i-test_return_json">#test_return_json</a>
|
438
|
+
—
|
439
|
+
<span class="container">Object</span>
|
440
|
+
|
441
|
+
<li class="method">
|
442
|
+
<a href="Object.html#method-i-test_return_test_reference">#test_return_test_reference</a>
|
443
|
+
—
|
444
|
+
<span class="container">Object</span>
|
445
|
+
|
446
|
+
<li class="method">
|
447
|
+
<a href="Object.html#method-i-test_select_server">#test_select_server</a>
|
448
|
+
—
|
449
|
+
<span class="container">Object</span>
|
450
|
+
|
451
|
+
<li class="method">
|
452
|
+
<a href="Object.html#method-i-test_server">#test_server</a>
|
453
|
+
—
|
454
|
+
<span class="container">Object</span>
|
455
|
+
|
456
|
+
<li class="method">
|
457
|
+
<a href="Object.html#method-i-test_translation">#test_translation</a>
|
458
|
+
—
|
459
|
+
<span class="container">Object</span>
|
460
|
+
|
461
|
+
<li class="method">
|
462
|
+
<a href="Object.html#method-i-test_wrong_code">#test_wrong_code</a>
|
463
|
+
—
|
464
|
+
<span class="container">Object</span>
|
465
|
+
|
466
|
+
<li class="method">
|
467
|
+
<a href="Object.html#method-i-test_wrong_name">#test_wrong_name</a>
|
468
|
+
—
|
469
|
+
<span class="container">Object</span>
|
470
|
+
|
507
471
|
<li class="method">
|
508
472
|
<a href="WWWJDic/Splitter.html#method-i-title">#title</a>
|
509
473
|
—
|
@@ -528,14 +492,13 @@
|
|
528
492
|
<a href="WWWJDic/WWWJDic.html#method-i-uri">#uri</a>
|
529
493
|
—
|
530
494
|
<span class="container">WWWJDic::WWWJDic</span>
|
531
|
-
|
532
495
|
</ul>
|
533
496
|
</main>
|
534
497
|
|
535
498
|
|
536
499
|
<footer id="validator-badges" role="contentinfo">
|
537
500
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
538
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
501
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
539
502
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
540
503
|
</footer>
|
541
504
|
|