wwwjdic 15.0.0 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +13 -0
  3. data/Gemfile +4 -0
  4. data/README.md +6 -7
  5. data/Rakefile +4 -0
  6. data/examples/basics.rb +4 -0
  7. data/examples/translate.rb +26 -0
  8. data/examples/uri.rb +16 -0
  9. data/html/CHANGELOG.html +37 -30
  10. data/html/COPYING_md.html +22 -30
  11. data/html/Gemfile.html +25 -31
  12. data/html/Object.html +825 -63
  13. data/html/README_md.html +27 -33
  14. data/html/Rakefile.html +25 -31
  15. data/html/WWWJDic.html +42 -124
  16. data/html/WWWJDic/ParsableDuckType.html +35 -57
  17. data/html/WWWJDic/Parser.html +48 -90
  18. data/html/WWWJDic/Parsers.html +28 -36
  19. data/html/WWWJDic/Parsers/Dict.html +47 -73
  20. data/html/WWWJDic/Parsers/Display.html +42 -68
  21. data/html/WWWJDic/Parsers/Key.html +42 -68
  22. data/html/WWWJDic/Parsers/Search.html +38 -61
  23. data/html/WWWJDic/Parsers/Server.html +42 -68
  24. data/html/WWWJDic/Splitter.html +76 -173
  25. data/html/WWWJDic/Utils.html +28 -36
  26. data/html/WWWJDic/Utils/Downloader.html +28 -36
  27. data/html/WWWJDic/Utils/Downloader/Downloader.html +41 -80
  28. data/html/WWWJDic/Utils/Raisers.html +42 -96
  29. data/html/WWWJDic/WWWJDic.html +160 -342
  30. data/html/copyright_md.html +22 -30
  31. data/html/created.rid +32 -54
  32. data/html/css/rdoc.css +1 -1
  33. data/html/index.html +26 -51
  34. data/html/js/darkfish.js +84 -84
  35. data/html/js/navigation.js.gz +0 -0
  36. data/html/js/search.js +110 -110
  37. data/html/js/search_index.js +1 -1
  38. data/html/js/search_index.js.gz +0 -0
  39. data/html/js/searcher.js +229 -229
  40. data/html/js/searcher.js.gz +0 -0
  41. data/html/table_of_contents.html +153 -161
  42. data/lib/wwwjdic.rb +7 -4
  43. data/lib/wwwjdic/application.rb +52 -25
  44. data/lib/wwwjdic/constants.rb +33 -3
  45. data/lib/wwwjdic/locales/de.yml +2 -0
  46. data/lib/wwwjdic/locales/en.yml +2 -0
  47. data/lib/wwwjdic/locales/es.yml +2 -0
  48. data/lib/wwwjdic/locales/fr.yml +2 -0
  49. data/lib/wwwjdic/locales/hu.yml +2 -0
  50. data/lib/wwwjdic/locales/it.yml +2 -0
  51. data/lib/wwwjdic/locales/ja.yml +3 -1
  52. data/lib/wwwjdic/locales/nl.yml +2 -0
  53. data/lib/wwwjdic/locales/ru.yml +2 -0
  54. data/lib/wwwjdic/locales/sl.yml +2 -0
  55. data/lib/wwwjdic/locales/sv.yml +2 -0
  56. data/lib/wwwjdic/parser.rb +7 -4
  57. data/lib/wwwjdic/parsers/dict.rb +4 -1
  58. data/lib/wwwjdic/parsers/display.rb +4 -1
  59. data/lib/wwwjdic/parsers/key.rb +4 -1
  60. data/lib/wwwjdic/parsers/search.rb +4 -0
  61. data/lib/wwwjdic/parsers/server.rb +4 -1
  62. data/lib/wwwjdic/utils/downloader.rb +7 -8
  63. data/lib/wwwjdic/utils/raisers.rb +7 -13
  64. data/lib/wwwjdic/utils/splitter.rb +18 -9
  65. data/lib/wwwjdic/version.rb +5 -1
  66. data/test/test_helper.rb +4 -0
  67. data/test/test_wwwjdic.rb +4 -0
  68. data/test/wwwjdic/locales/de.yml +2 -0
  69. data/test/wwwjdic/locales/en.yml +2 -0
  70. data/test/wwwjdic/locales/es.yml +2 -0
  71. data/test/wwwjdic/locales/fr.yml +2 -0
  72. data/test/wwwjdic/locales/hu.yml +2 -0
  73. data/test/wwwjdic/locales/it.yml +2 -0
  74. data/test/wwwjdic/locales/ja.yml +2 -0
  75. data/test/wwwjdic/locales/nl.yml +2 -0
  76. data/test/wwwjdic/locales/ru.yml +2 -0
  77. data/test/wwwjdic/locales/sl.yml +2 -0
  78. data/test/wwwjdic/locales/sv.yml +2 -0
  79. data/test/wwwjdic/locales/test_locales.rb +35 -19
  80. data/test/wwwjdic/parsers/test_dict.rb +62 -36
  81. data/test/wwwjdic/parsers/test_display.rb +4 -0
  82. data/test/wwwjdic/parsers/test_key.rb +4 -0
  83. data/test/wwwjdic/parsers/test_server.rb +4 -0
  84. data/test/wwwjdic/test_application.rb +196 -148
  85. data/test/wwwjdic/test_parsable_duck_type.rb +4 -3
  86. data/test/wwwjdic/utils/test_downloader.rb +4 -0
  87. data/test/wwwjdic/utils/test_raisers.rb +42 -27
  88. data/wwwjdic.gemspec +14 -11
  89. metadata +19 -33
@@ -4,29 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>module WWWJDic::ParsableDuckType - wwwjdic 15.0.0</title>
7
+ <title>module WWWJDic::ParsableDuckType - wwwjdic 16.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "../";
11
11
  var index_rel_prefix = "../";
12
12
  </script>
13
13
 
14
- <script 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>
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>
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
-
25
-
26
- <body class="module" id="top" role="document">
24
+ <body id="top" role="document" class="module">
27
25
  <nav role="navigation">
28
26
  <div id="project-navigation">
29
- <div class="nav-section" id="home-section" role="region" title="Quick navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
28
  <h2>
31
29
  <a href="../index.html" rel="home">Home</a>
32
30
  </h2>
@@ -38,51 +36,50 @@
38
36
  </div>
39
37
  </div>
40
38
 
41
- <div class="project-section initially-hidden" id="search-section" role="search">
42
- <form accept-charset="utf-8" action="#" method="get">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
43
41
  <div id="search-field-wrapper">
44
- <input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
- id="search-field" name="search"
46
- placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
- type="text">
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">
48
46
  </div>
49
47
 
50
- <ul aria-atomic="false" aria-busy="false"
51
- aria-expanded="false" aria-label="Search Results"
52
- class="initially-hidden" id="search-results"></ul>
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
53
51
  </form>
54
52
  </div>
55
53
 
56
54
  </div>
57
55
 
58
-
56
+
59
57
 
60
58
  <div id="class-metadata">
61
-
62
-
63
-
64
-
65
- <!-- Method Quickref -->
66
- <div class="nav-section" id="method-list-section">
59
+
60
+
61
+
62
+
63
+
64
+ <!-- Method Quickref -->
65
+ <div id="method-list-section" class="nav-section">
67
66
  <h3>Methods</h3>
68
67
 
69
68
  <ul class="link-list" role="directory">
70
-
71
69
  <li ><a href="#method-i-test_parsable_duck_type">#test_parsable_duck_type</a>
72
-
73
70
  </ul>
74
71
  </div>
75
72
 
76
73
  </div>
77
74
  </nav>
78
75
 
79
- <main aria-labelledby="module-WWWJDic::ParsableDuckType" role="main">
80
- <h1 class="module" id="module-WWWJDic::ParsableDuckType">
76
+ <main role="main" aria-labelledby="module-WWWJDic::ParsableDuckType">
77
+ <h1 id="module-WWWJDic::ParsableDuckType" class="module">
81
78
  module WWWJDic::ParsableDuckType
82
79
  </h1>
83
80
 
84
81
  <section class="description">
85
-
82
+
86
83
  <p>This module represents the parsable duck type element for testing purposes.</p>
87
84
  <dl class="rdoc-list note-list"><dt>Author
88
85
  <dd>
@@ -97,66 +94,47 @@
97
94
 
98
95
  </section>
99
96
 
100
-
101
- <section class="documentation-section" id="5Buntitled-5D">
102
-
103
-
104
-
105
-
97
+ <section id="5Buntitled-5D" class="documentation-section">
106
98
 
107
99
 
108
100
 
109
101
 
110
102
 
111
- <section class="method-section" id="public-instance-5Buntitled-5D-method-details">
103
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
112
104
  <header>
113
105
  <h3>Public Instance Methods</h3>
114
106
  </header>
115
107
 
116
-
117
- <div class="method-detail " id="method-i-test_parsable_duck_type">
118
-
108
+ <div id="method-i-test_parsable_duck_type" class="method-detail ">
119
109
  <div class="method-heading">
120
110
  <span class="method-name">test_parsable_duck_type</span><span
121
111
  class="method-args">()</span>
122
-
123
112
  <span class="method-click-advice">click to toggle source</span>
124
-
125
113
  </div>
126
114
 
127
-
128
115
  <div class="method-description">
129
-
130
116
  <p>The method that tests the parsable duck type interface and its <code>parse</code> method.</p>
131
117
 
132
-
133
-
134
-
135
118
  <div class="method-source-code" id="test_parsable_duck_type-source">
136
119
  <pre> <span class="ruby-comment"># File test/wwwjdic/test_parsable_duck_type.rb</span>
137
- <span class="line-num">37</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">test_parsable_duck_type</span>
138
- <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>
139
- <span class="line-num">39</span> <span class="ruby-keyword">end</span></pre>
120
+ <span class="line-num">38</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">test_parsable_duck_type</span>
121
+ <span class="line-num">39</span> <span class="ruby-identifier">_</span>(<span class="ruby-identifier">subject</span>).<span class="ruby-identifier">must_respond_to</span> <span class="ruby-value">:parse</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">subject</span>.<span class="ruby-identifier">nil?</span>
122
+ <span class="line-num">40</span> <span class="ruby-keyword">end</span></pre>
140
123
  </div>
141
-
142
124
  </div>
143
125
 
144
126
 
145
-
146
-
147
127
  </div>
148
128
 
149
-
150
129
  </section>
151
130
 
152
131
  </section>
153
-
154
132
  </main>
155
133
 
156
134
 
157
135
  <footer id="validator-badges" role="contentinfo">
158
136
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
159
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
137
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
160
138
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
161
139
  </footer>
162
140
 
@@ -4,29 +4,27 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>class WWWJDic::Parser - wwwjdic 15.0.0</title>
7
+ <title>class WWWJDic::Parser - 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 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>
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>
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
-
25
-
26
- <body class="class" id="top" role="document">
24
+ <body id="top" role="document" class="class">
27
25
  <nav role="navigation">
28
26
  <div id="project-navigation">
29
- <div class="nav-section" id="home-section" role="region" title="Quick navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
30
28
  <h2>
31
29
  <a href="../index.html" rel="home">Home</a>
32
30
  </h2>
@@ -38,60 +36,57 @@
38
36
  </div>
39
37
  </div>
40
38
 
41
- <div class="project-section initially-hidden" id="search-section" role="search">
42
- <form accept-charset="utf-8" action="#" method="get">
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
43
41
  <div id="search-field-wrapper">
44
- <input aria-autocomplete="list" aria-controls="search-results" aria-label="Search"
45
- id="search-field" name="search"
46
- placeholder="Search" role="combobox" spellcheck="false" title="Type to search, Up and Down to navigate, Enter to load"
47
- type="text">
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">
48
46
  </div>
49
47
 
50
- <ul aria-atomic="false" aria-busy="false"
51
- aria-expanded="false" aria-label="Search Results"
52
- class="initially-hidden" id="search-results"></ul>
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
53
51
  </form>
54
52
  </div>
55
53
 
56
54
  </div>
57
55
 
58
-
56
+
59
57
 
60
58
  <div id="class-metadata">
61
-
62
- <div class="nav-section" id="parent-class-section">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
63
62
  <h3>Parent</h3>
64
63
 
65
-
66
64
  <p class="link"><a href="../Object.html">Object</a>
67
-
68
65
  </div>
69
66
 
70
-
71
-
72
- <!-- Method Quickref -->
73
- <div class="nav-section" id="method-list-section">
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
74
72
  <h3>Methods</h3>
75
73
 
76
74
  <ul class="link-list" role="directory">
77
-
78
75
  <li ><a href="#method-c-new">::new</a>
79
-
80
76
  <li ><a href="#method-i-parse">#parse</a>
81
-
82
77
  </ul>
83
78
  </div>
84
79
 
85
80
  </div>
86
81
  </nav>
87
82
 
88
- <main aria-labelledby="class-WWWJDic::Parser" role="main">
89
- <h1 class="class" id="class-WWWJDic::Parser">
83
+ <main role="main" aria-labelledby="class-WWWJDic::Parser">
84
+ <h1 id="class-WWWJDic::Parser" class="class">
90
85
  class WWWJDic::Parser
91
86
  </h1>
92
87
 
93
88
  <section class="description">
94
-
89
+
95
90
  <p>This class is a simple utility that is used to <a href="Parser.html#method-i-parse"><code>parse</code></a> and filter parameters for wwwjdic.</p>
96
91
  <dl class="rdoc-list note-list"><dt>Author
97
92
  <dd>
@@ -106,12 +101,7 @@
106
101
 
107
102
  </section>
108
103
 
109
-
110
- <section class="documentation-section" id="5Buntitled-5D">
111
-
112
-
113
-
114
-
104
+ <section id="5Buntitled-5D" class="documentation-section">
115
105
 
116
106
 
117
107
 
@@ -120,117 +110,85 @@
120
110
  <h3>Attributes</h3>
121
111
  </header>
122
112
 
123
-
124
- <div class="method-detail" id="attribute-i-parsers">
113
+ <div id="attribute-i-parsers" class="method-detail">
125
114
  <div class="method-heading attribute-method-heading">
126
115
  <span class="method-name">parsers</span><span
127
116
  class="attribute-access-type">[R]</span>
128
117
  </div>
129
118
 
130
119
  <div class="method-description">
131
-
132
-
133
-
120
+
134
121
  </div>
135
122
  </div>
136
-
137
123
  </section>
138
124
 
139
125
 
140
-
141
- <section class="method-section" id="public-class-5Buntitled-5D-method-details">
126
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
142
127
  <header>
143
128
  <h3>Public Class Methods</h3>
144
129
  </header>
145
130
 
146
-
147
- <div class="method-detail " id="method-c-new">
148
-
131
+ <div id="method-c-new" class="method-detail ">
149
132
  <div class="method-heading">
150
133
  <span class="method-name">new</span><span
151
134
  class="method-args">(args = {})</span>
152
-
153
135
  <span class="method-click-advice">click to toggle source</span>
154
-
155
136
  </div>
156
137
 
157
-
158
138
  <div class="method-description">
159
-
160
-
161
-
162
-
163
-
139
+
164
140
 
165
141
  <div class="method-source-code" id="new-source">
166
142
  <pre> <span class="ruby-comment"># File lib/wwwjdic/parser.rb</span>
167
- <span class="line-num">38</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">args</span> = {})
168
- <span class="line-num">39</span> <span class="ruby-ivar">@parsers</span> = {}
169
- <span class="line-num">40</span> <span class="ruby-constant">ALL_PARAMS</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">param</span><span class="ruby-operator">|</span> <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">param</span>] = <span class="ruby-identifier">args</span>[<span class="ruby-identifier">param</span>] } <span class="ruby-keyword">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">nil?</span>
170
- <span class="line-num">41</span> <span class="ruby-keyword">end</span></pre>
143
+ <span class="line-num">41</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">args</span> = {})
144
+ <span class="line-num">42</span> <span class="ruby-ivar">@parsers</span> = {}
145
+ <span class="line-num">43</span> <span class="ruby-constant">ALL_PARAMS</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">param</span><span class="ruby-operator">|</span> <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">param</span>] = <span class="ruby-identifier">args</span>[<span class="ruby-identifier">param</span>] } <span class="ruby-keyword">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">nil?</span>
146
+ <span class="line-num">44</span> <span class="ruby-keyword">end</span></pre>
171
147
  </div>
172
-
173
148
  </div>
174
149
 
175
150
 
176
-
177
-
178
151
  </div>
179
152
 
180
-
181
153
  </section>
182
154
 
183
- <section class="method-section" id="public-instance-5Buntitled-5D-method-details">
155
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
184
156
  <header>
185
157
  <h3>Public Instance Methods</h3>
186
158
  </header>
187
159
 
188
-
189
- <div class="method-detail " id="method-i-parse">
190
-
160
+ <div id="method-i-parse" class="method-detail ">
191
161
  <div class="method-heading">
192
162
  <span class="method-name">parse</span><span
193
- class="method-args">(method = nil, value = nil)</span>
194
-
163
+ class="method-args">(method = nil, params = nil)</span>
195
164
  <span class="method-click-advice">click to toggle source</span>
196
-
197
165
  </div>
198
166
 
199
-
200
167
  <div class="method-description">
201
-
202
168
  <p>Provides the duck type for a generic parsing object.</p>
203
169
 
204
-
205
-
206
-
207
170
  <div class="method-source-code" id="parse-source">
208
171
  <pre> <span class="ruby-comment"># File lib/wwwjdic/parser.rb</span>
209
- <span class="line-num">44</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">parse</span>(<span class="ruby-identifier">method</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>)
210
- <span class="line-num">45</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-keyword">nil</span>
211
- <span class="line-num">46</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-keyword">unless</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">parsers</span>.<span class="ruby-identifier">nil?</span>
212
- <span class="line-num">47</span> <span class="ruby-identifier">a_parser</span>&amp;.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">value</span>
213
- <span class="line-num">48</span> <span class="ruby-keyword">end</span></pre>
172
+ <span class="line-num">47</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">parse</span>(<span class="ruby-identifier">method</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">params</span> = <span class="ruby-keyword">nil</span>)
173
+ <span class="line-num">48</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-keyword">nil</span>
174
+ <span class="line-num">49</span> <span class="ruby-identifier">a_parser</span> = <span class="ruby-identifier">parsers</span>[<span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-keyword">unless</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">parsers</span>.<span class="ruby-identifier">nil?</span>
175
+ <span class="line-num">50</span> <span class="ruby-identifier">a_parser</span>&amp;.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">params</span>
176
+ <span class="line-num">51</span> <span class="ruby-keyword">end</span></pre>
214
177
  </div>
215
-
216
178
  </div>
217
179
 
218
180
 
219
-
220
-
221
181
  </div>
222
182
 
223
-
224
183
  </section>
225
184
 
226
185
  </section>
227
-
228
186
  </main>
229
187
 
230
188
 
231
189
  <footer id="validator-badges" role="contentinfo">
232
190
  <p><a href="https://validator.w3.org/check/referer">Validate</a>
233
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
191
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
234
192
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
235
193
  </footer>
236
194