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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +10 -1
  3. data/Gemfile +2 -4
  4. data/README.md +5 -4
  5. data/Rakefile +2 -4
  6. data/copyright.md +5 -5
  7. data/examples/basics.rb +2 -4
  8. data/examples/translate.rb +2 -4
  9. data/examples/uri.rb +2 -6
  10. data/html/CHANGELOG.html +34 -24
  11. data/html/COPYING_md.html +22 -23
  12. data/html/Gemfile.html +23 -24
  13. data/html/Object.html +393 -394
  14. data/html/README_md.html +27 -28
  15. data/html/Rakefile.html +23 -24
  16. data/html/WWWJDic.html +42 -43
  17. data/html/WWWJDic/ParsableDuckType.html +35 -36
  18. data/html/WWWJDic/Parser.html +47 -48
  19. data/html/WWWJDic/Parsers.html +28 -29
  20. data/html/WWWJDic/Parsers/Dict.html +47 -48
  21. data/html/WWWJDic/Parsers/Display.html +42 -43
  22. data/html/WWWJDic/Parsers/Key.html +42 -43
  23. data/html/WWWJDic/Parsers/Search.html +38 -39
  24. data/html/WWWJDic/Parsers/Server.html +42 -43
  25. data/html/WWWJDic/Splitter.html +76 -77
  26. data/html/WWWJDic/Utils.html +29 -30
  27. data/html/WWWJDic/Utils/Downloader.html +40 -35
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +52 -45
  29. data/html/WWWJDic/Utils/Raisers.html +43 -44
  30. data/html/WWWJDic/WWWJDic.html +162 -163
  31. data/html/copyright_md.html +27 -28
  32. data/html/created.rid +33 -33
  33. data/html/css/rdoc.css +638 -619
  34. data/html/index.html +26 -27
  35. data/html/js/darkfish.js +84 -84
  36. data/html/js/navigation.js.gz +0 -0
  37. data/html/js/search.js +109 -110
  38. data/html/js/search_index.js +1 -1
  39. data/html/js/search_index.js.gz +0 -0
  40. data/html/js/searcher.js +228 -229
  41. data/html/js/searcher.js.gz +0 -0
  42. data/html/table_of_contents.html +10 -10
  43. data/lib/wwwjdic.rb +3 -5
  44. data/lib/wwwjdic/application.rb +4 -5
  45. data/lib/wwwjdic/constants.rb +11 -5
  46. data/lib/wwwjdic/locales/de.yml +2 -2
  47. data/lib/wwwjdic/locales/en.yml +2 -2
  48. data/lib/wwwjdic/locales/es.yml +2 -2
  49. data/lib/wwwjdic/locales/fr.yml +2 -2
  50. data/lib/wwwjdic/locales/hu.yml +2 -2
  51. data/lib/wwwjdic/locales/it.yml +2 -2
  52. data/lib/wwwjdic/locales/ja.yml +4 -4
  53. data/lib/wwwjdic/locales/nl.yml +2 -2
  54. data/lib/wwwjdic/locales/ru.yml +2 -2
  55. data/lib/wwwjdic/locales/sl.yml +2 -2
  56. data/lib/wwwjdic/locales/sv.yml +2 -2
  57. data/lib/wwwjdic/parser.rb +3 -5
  58. data/lib/wwwjdic/parsers/dict.rb +3 -5
  59. data/lib/wwwjdic/parsers/display.rb +3 -5
  60. data/lib/wwwjdic/parsers/key.rb +3 -5
  61. data/lib/wwwjdic/parsers/search.rb +3 -5
  62. data/lib/wwwjdic/parsers/server.rb +3 -5
  63. data/lib/wwwjdic/utils/downloader.rb +14 -8
  64. data/lib/wwwjdic/utils/raisers.rb +4 -6
  65. data/lib/wwwjdic/utils/splitter.rb +4 -5
  66. data/lib/wwwjdic/version.rb +10 -4
  67. data/test/test_helper.rb +2 -4
  68. data/test/test_wwwjdic.rb +2 -4
  69. data/test/wwwjdic/locales/de.yml +2 -2
  70. data/test/wwwjdic/locales/en.yml +2 -2
  71. data/test/wwwjdic/locales/es.yml +2 -2
  72. data/test/wwwjdic/locales/fr.yml +2 -2
  73. data/test/wwwjdic/locales/hu.yml +2 -2
  74. data/test/wwwjdic/locales/it.yml +2 -2
  75. data/test/wwwjdic/locales/ja.yml +4 -4
  76. data/test/wwwjdic/locales/nl.yml +2 -2
  77. data/test/wwwjdic/locales/ru.yml +2 -2
  78. data/test/wwwjdic/locales/sl.yml +2 -2
  79. data/test/wwwjdic/locales/sv.yml +2 -2
  80. data/test/wwwjdic/locales/test_locales.rb +2 -4
  81. data/test/wwwjdic/parsers/test_dict.rb +2 -4
  82. data/test/wwwjdic/parsers/test_display.rb +2 -4
  83. data/test/wwwjdic/parsers/test_key.rb +2 -4
  84. data/test/wwwjdic/parsers/test_server.rb +2 -4
  85. data/test/wwwjdic/test_application.rb +3 -5
  86. data/test/wwwjdic/test_parsable_duck_type.rb +4 -5
  87. data/test/wwwjdic/utils/test_downloader.rb +2 -4
  88. data/test/wwwjdic/utils/test_raisers.rb +2 -4
  89. data/wwwjdic.gemspec +2 -4
  90. metadata +11 -11
@@ -4,27 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic::Utils - wwwjdic 16.0.0</title>
7
+ <title>module WWWJDic::Utils - 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" defer></script>
15
- <script src="../js/search.js" defer></script>
16
- <script src="../js/search_index.js" defer></script>
17
- <script src="../js/searcher.js" defer></script>
18
- <script src="../js/darkfish.js" defer></script>
14
+ <script defer src="../js/navigation.js"></script>
15
+ <script defer src="../js/search.js"></script>
16
+ <script defer src="../js/search_index.js"></script>
17
+ <script defer src="../js/searcher.js"></script>
18
+ <script defer src="../js/darkfish.js"></script>
19
19
 
20
20
  <link href="../css/fonts.css" rel="stylesheet">
21
21
  <link href="../css/rdoc.css" rel="stylesheet">
22
22
 
23
23
 
24
- <body id="top" role="document" class="module">
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" class="nav-section">
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,48 +36,48 @@
36
36
  </div>
37
37
  </div>
38
38
 
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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 id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
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 id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
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
  </div>
65
65
  </nav>
66
66
 
67
- <main role="main" aria-labelledby="module-WWWJDic::Utils">
68
- <h1 id="module-WWWJDic::Utils" class="module">
67
+ <main aria-labelledby="module-WWWJDic::Utils" role="main">
68
+ <h1 class="module" id="module-WWWJDic::Utils">
69
69
  module WWWJDic::Utils
70
70
  </h1>
71
71
 
72
72
  <section class="description">
73
-
73
+
74
74
  <p>This module is a simple collection of useful things and methods that I prefer to keep as DRYer as possible. Just include it and use the methods…</p>
75
75
  <dl class="rdoc-list note-list"><dt>Author
76
76
  <dd>
77
77
  <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
78
78
  </dd><dt>Copyright
79
79
  <dd>
80
- <p>(C) 2014 Marco Bresciani</p>
80
+ <p 2014-2021 Marco Bresciani</p>
81
81
  </dd><dt>License
82
82
  <dd>
83
83
  <p>GNU General Public License version 3</p>
@@ -85,7 +85,7 @@
85
85
 
86
86
  </section>
87
87
 
88
- <section id="5Buntitled-5D" class="documentation-section">
88
+ <section class="documentation-section" id="5Buntitled-5D">
89
89
 
90
90
 
91
91
 
@@ -97,7 +97,6 @@
97
97
 
98
98
  <footer id="validator-badges" role="contentinfo">
99
99
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
100
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
100
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
101
101
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
102
  </footer>
103
-
@@ -4,27 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic::Utils::Downloader - wwwjdic 16.0.0</title>
7
+ <title>module WWWJDic::Utils::Downloader - 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" defer></script>
15
- <script src="../../js/search.js" defer></script>
16
- <script src="../../js/search_index.js" defer></script>
17
- <script src="../../js/searcher.js" defer></script>
18
- <script src="../../js/darkfish.js" defer></script>
14
+ <script defer src="../../js/navigation.js"></script>
15
+ <script defer src="../../js/search.js"></script>
16
+ <script defer src="../../js/search_index.js"></script>
17
+ <script defer src="../../js/searcher.js"></script>
18
+ <script defer src="../../js/darkfish.js"></script>
19
19
 
20
20
  <link href="../../css/fonts.css" rel="stylesheet">
21
21
  <link href="../../css/rdoc.css" rel="stylesheet">
22
22
 
23
23
 
24
- <body id="top" role="document" class="module">
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" class="nav-section">
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,56 +36,62 @@
36
36
  </div>
37
37
  </div>
38
38
 
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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 id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
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 id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
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
  </div>
65
65
  </nav>
66
66
 
67
- <main role="main" aria-labelledby="module-WWWJDic::Utils::Downloader">
68
- <h1 id="module-WWWJDic::Utils::Downloader" class="module">
67
+ <main aria-labelledby="module-WWWJDic::Utils::Downloader" role="main">
68
+ <h1 class="module" id="module-WWWJDic::Utils::Downloader">
69
69
  module WWWJDic::Utils::Downloader
70
70
  </h1>
71
71
 
72
72
  <section class="description">
73
-
74
- <p>This module is a simple wrapper container for Peter R. Marreck&#39;s gist.</p>
73
+
74
+ <p>This module is a simple wrapper container for Jon Maken gist.</p>
75
75
  <dl class="rdoc-list note-list"><dt>Author
76
76
  <dd>
77
- <p><a href="mailto:jon.forums@gmail.com">Jon Maken</a></p>
78
- </dd><dt>License
77
+ <p><a href="mailto:marcobresciani_1974@libero.it">Marco Bresciani</a></p>
78
+ </dd></dl>
79
+
80
+ <p>rubocop:disable Style/AsciiComments</p>
81
+ <dl class="rdoc-list note-list"><dt>Copyright
79
82
  <dd>
80
- <p>3-clause BSD</p>
81
- </dd><dt>Revision
83
+ <p>© 2014-2021 Marco Bresciani</p>
84
+ </dd></dl>
85
+
86
+ <p>rubocop:enable Style/AsciiComments</p>
87
+ <dl class="rdoc-list note-list"><dt>License
82
88
  <dd>
83
- <p>2012-03-25 23:01:19 -0600</p>
89
+ <p>GNU General Public License version 3</p>
84
90
  </dd></dl>
85
91
 
86
92
  </section>
87
93
 
88
- <section id="5Buntitled-5D" class="documentation-section">
94
+ <section class="documentation-section" id="5Buntitled-5D">
89
95
 
90
96
 
91
97
 
@@ -97,7 +103,6 @@
97
103
 
98
104
  <footer id="validator-badges" role="contentinfo">
99
105
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
100
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
106
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
101
107
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
102
108
  </footer>
103
-
@@ -4,27 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class WWWJDic::Utils::Downloader::Downloader - wwwjdic 16.0.0</title>
7
+ <title>class WWWJDic::Utils::Downloader::Downloader - 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" defer></script>
15
- <script src="../../../js/search.js" defer></script>
16
- <script src="../../../js/search_index.js" defer></script>
17
- <script src="../../../js/searcher.js" defer></script>
18
- <script src="../../../js/darkfish.js" defer></script>
14
+ <script defer src="../../../js/navigation.js"></script>
15
+ <script defer src="../../../js/search.js"></script>
16
+ <script defer src="../../../js/search_index.js"></script>
17
+ <script defer src="../../../js/searcher.js"></script>
18
+ <script defer src="../../../js/darkfish.js"></script>
19
19
 
20
20
  <link href="../../../css/fonts.css" rel="stylesheet">
21
21
  <link href="../../../css/rdoc.css" rel="stylesheet">
22
22
 
23
23
 
24
- <body id="top" role="document" class="class">
24
+ <body class="class" 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" class="nav-section">
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,39 +36,39 @@
36
36
  </div>
37
37
  </div>
38
38
 
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
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 id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
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 id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
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
- <div id="parent-class-section" class="nav-section">
59
+
60
+
61
+ <div class="nav-section" id="parent-class-section">
62
62
  <h3>Parent</h3>
63
63
 
64
64
  <p class="link"><a href="../../../Object.html">Object</a>
65
65
  </div>
66
66
 
67
-
68
-
69
-
67
+
68
+
69
+
70
70
  <!-- Method Quickref -->
71
- <div id="method-list-section" class="nav-section">
71
+ <div class="nav-section" id="method-list-section">
72
72
  <h3>Methods</h3>
73
73
 
74
74
  <ul class="link-list" role="directory">
@@ -79,13 +79,21 @@
79
79
  </div>
80
80
  </nav>
81
81
 
82
- <main role="main" aria-labelledby="class-WWWJDic::Utils::Downloader::Downloader">
83
- <h1 id="class-WWWJDic::Utils::Downloader::Downloader" class="class">
82
+ <main aria-labelledby="class-WWWJDic::Utils::Downloader::Downloader" role="main">
83
+ <h1 class="class" id="class-WWWJDic::Utils::Downloader::Downloader">
84
84
  class WWWJDic::Utils::Downloader::Downloader
85
85
  </h1>
86
86
 
87
87
  <section class="description">
88
-
88
+
89
+ <p>rubocop:disable Style/AsciiComments</p>
90
+ <dl class="rdoc-list note-list"><dt>Copyright
91
+ <dd>
92
+ <p>© 2012 Jon Maken</p>
93
+ </dd></dl>
94
+
95
+ <p>rubocop:enable Style/AsciiComments see <a href="https://gist.github.com/jonforums/2202048">gist.github.com/jonforums/2202048</a></p>
96
+
89
97
  <p>An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile&#39;s HTTP implementation.</p>
90
98
  <dl class="rdoc-list note-list"><dt>Author
91
99
  <dd>
@@ -100,7 +108,7 @@
100
108
 
101
109
  </section>
102
110
 
103
- <section id="5Buntitled-5D" class="documentation-section">
111
+ <section class="documentation-section" id="5Buntitled-5D">
104
112
 
105
113
 
106
114
  <section class="constants-list">
@@ -118,45 +126,45 @@
118
126
  <h3>Attributes</h3>
119
127
  </header>
120
128
 
121
- <div id="attribute-c-ftp_data_chunk_size" class="method-detail">
129
+ <div class="method-detail" id="attribute-c-ftp_data_chunk_size">
122
130
  <div class="method-heading attribute-method-heading">
123
131
  <span class="method-name">ftp_data_chunk_size</span><span
124
132
  class="attribute-access-type">[RW]</span>
125
133
  </div>
126
134
 
127
135
  <div class="method-description">
128
-
136
+
129
137
  </div>
130
138
  </div>
131
- <div id="attribute-c-logger" class="method-detail">
139
+ <div class="method-detail" id="attribute-c-logger">
132
140
  <div class="method-heading attribute-method-heading">
133
141
  <span class="method-name">logger</span><span
134
142
  class="attribute-access-type">[RW]</span>
135
143
  </div>
136
144
 
137
145
  <div class="method-description">
138
-
146
+
139
147
  </div>
140
148
  </div>
141
- <div id="attribute-c-max_ca_verify_depth" class="method-detail">
149
+ <div class="method-detail" id="attribute-c-max_ca_verify_depth">
142
150
  <div class="method-heading attribute-method-heading">
143
151
  <span class="method-name">max_ca_verify_depth</span><span
144
152
  class="attribute-access-type">[RW]</span>
145
153
  </div>
146
154
 
147
155
  <div class="method-description">
148
-
156
+
149
157
  </div>
150
158
  </div>
151
159
  </section>
152
160
 
153
161
 
154
- <section id="public-class-5Buntitled-5D-method-details" class="method-section">
162
+ <section class="method-section" id="public-class-5Buntitled-5D-method-details">
155
163
  <header>
156
164
  <h3>Public Class Methods</h3>
157
165
  </header>
158
166
 
159
- <div id="method-c-download_file" class="method-detail ">
167
+ <div class="method-detail " id="method-c-download_file">
160
168
  <div class="method-heading">
161
169
  <span class="method-name">download_file</span><span
162
170
  class="method-args">(url, full_path, count = 3)</span>
@@ -164,15 +172,15 @@
164
172
  </div>
165
173
 
166
174
  <div class="method-description">
167
-
175
+
168
176
 
169
177
  <div class="method-source-code" id="download_file-source">
170
178
  <pre> <span class="ruby-comment"># File lib/wwwjdic/utils/downloader.rb</span>
171
- <span class="line-num">61</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">download_file</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">full_path</span>, <span class="ruby-identifier">count</span> = <span class="ruby-value">3</span>)
172
- <span class="line-num">62</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">I18n</span>.<span class="ruby-identifier">t</span>(<span class="ruby-string">&#39;error.nil&#39;</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">url</span>.<span class="ruby-identifier">nil?</span>
173
- <span class="line-num">63</span>
174
- <span class="line-num">64</span> <span class="ruby-identifier">http_download</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">full_path</span>, <span class="ruby-identifier">count</span>)
175
- <span class="line-num">65</span> <span class="ruby-keyword">end</span></pre>
179
+ <span class="line-num">67</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">download_file</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">full_path</span>, <span class="ruby-identifier">count</span> = <span class="ruby-value">3</span>)
180
+ <span class="line-num">68</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">I18n</span>.<span class="ruby-identifier">t</span>(<span class="ruby-string">&#39;error.nil&#39;</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">url</span>.<span class="ruby-identifier">nil?</span>
181
+ <span class="line-num">69</span>
182
+ <span class="line-num">70</span> <span class="ruby-identifier">http_download</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">full_path</span>, <span class="ruby-identifier">count</span>)
183
+ <span class="line-num">71</span> <span class="ruby-keyword">end</span></pre>
176
184
  </div>
177
185
  </div>
178
186
 
@@ -187,7 +195,6 @@
187
195
 
188
196
  <footer id="validator-badges" role="contentinfo">
189
197
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
190
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
198
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
191
199
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
192
200
  </footer>
193
-