csv_decision2 0.5.1 → 0.5.2

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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/README.md +16 -16
  4. data/benchmarks/rufus_decision.rb +5 -7
  5. data/csv_decision2.gemspec +2 -2
  6. data/doc/CSVDecision/CellValidationError.html +117 -110
  7. data/doc/CSVDecision/Columns/Default.html +537 -508
  8. data/doc/CSVDecision/Columns/Dictionary.html +729 -686
  9. data/doc/CSVDecision/Columns/Entry.html +457 -433
  10. data/doc/CSVDecision/Columns.html +1134 -1051
  11. data/doc/CSVDecision/Constant.html +205 -191
  12. data/doc/CSVDecision/Data.html +423 -398
  13. data/doc/CSVDecision/Decide.html +236 -225
  14. data/doc/CSVDecision/Decision.html +872 -825
  15. data/doc/CSVDecision/Defaults.html +243 -230
  16. data/doc/CSVDecision/Dictionary/Entry.html +1026 -964
  17. data/doc/CSVDecision/Dictionary.html +377 -355
  18. data/doc/CSVDecision/Error.html +116 -105
  19. data/doc/CSVDecision/FileError.html +117 -110
  20. data/doc/CSVDecision/Function.html +181 -168
  21. data/doc/CSVDecision/Guard.html +200 -185
  22. data/doc/CSVDecision/Header.html +557 -523
  23. data/doc/CSVDecision/Index.html +652 -617
  24. data/doc/CSVDecision/Input.html +329 -312
  25. data/doc/CSVDecision/Load.html +232 -220
  26. data/doc/CSVDecision/Matchers/Constant.html +432 -399
  27. data/doc/CSVDecision/Matchers/Function.html +451 -415
  28. data/doc/CSVDecision/Matchers/Guard.html +459 -424
  29. data/doc/CSVDecision/Matchers/Matcher.html +470 -426
  30. data/doc/CSVDecision/Matchers/Numeric.html +375 -346
  31. data/doc/CSVDecision/Matchers/Pattern.html +429 -396
  32. data/doc/CSVDecision/Matchers/Proc.html +617 -575
  33. data/doc/CSVDecision/Matchers/Range.html +331 -302
  34. data/doc/CSVDecision/Matchers/Symbol.html +386 -353
  35. data/doc/CSVDecision/Matchers.html +1509 -1393
  36. data/doc/CSVDecision/Numeric.html +201 -188
  37. data/doc/CSVDecision/Options.html +376 -357
  38. data/doc/CSVDecision/Parse.html +217 -204
  39. data/doc/CSVDecision/Paths.html +664 -629
  40. data/doc/CSVDecision/Result.html +1076 -1005
  41. data/doc/CSVDecision/Scan/InputHashes.html +305 -288
  42. data/doc/CSVDecision/Scan.html +262 -249
  43. data/doc/CSVDecision/ScanRow.html +749 -705
  44. data/doc/CSVDecision/Symbol.html +204 -191
  45. data/doc/CSVDecision/Table.html +1391 -1305
  46. data/doc/CSVDecision/TableValidationError.html +117 -110
  47. data/doc/CSVDecision/Validate.html +353 -337
  48. data/doc/CSVDecision.html +623 -552
  49. data/doc/_index.html +488 -448
  50. data/doc/class_list.html +250 -45
  51. data/doc/file.README.html +304 -278
  52. data/doc/index.html +304 -278
  53. data/doc/method_list.html +1159 -1017
  54. data/doc/top-level-namespace.html +79 -75
  55. data/lib/{csv_decision → csv_decision2}/columns.rb +7 -7
  56. data/lib/{csv_decision → csv_decision2}/data.rb +1 -1
  57. data/lib/{csv_decision → csv_decision2}/decision.rb +5 -5
  58. data/lib/{csv_decision → csv_decision2}/defaults.rb +2 -2
  59. data/lib/{csv_decision → csv_decision2}/dictionary.rb +2 -2
  60. data/lib/{csv_decision → csv_decision2}/header.rb +5 -5
  61. data/lib/{csv_decision → csv_decision2}/index.rb +5 -5
  62. data/lib/{csv_decision → csv_decision2}/input.rb +3 -3
  63. data/lib/{csv_decision → csv_decision2}/load.rb +6 -6
  64. data/lib/{csv_decision → csv_decision2}/matchers/constant.rb +2 -2
  65. data/lib/{csv_decision → csv_decision2}/matchers/function.rb +2 -2
  66. data/lib/{csv_decision → csv_decision2}/matchers/guard.rb +2 -2
  67. data/lib/{csv_decision → csv_decision2}/matchers/numeric.rb +2 -2
  68. data/lib/{csv_decision → csv_decision2}/matchers/pattern.rb +2 -2
  69. data/lib/{csv_decision → csv_decision2}/matchers/range.rb +2 -2
  70. data/lib/{csv_decision → csv_decision2}/matchers/symbol.rb +2 -2
  71. data/lib/{csv_decision → csv_decision2}/matchers.rb +5 -5
  72. data/lib/{csv_decision → csv_decision2}/options.rb +3 -3
  73. data/lib/{csv_decision → csv_decision2}/parse.rb +14 -14
  74. data/lib/{csv_decision → csv_decision2}/paths.rb +5 -5
  75. data/lib/{csv_decision → csv_decision2}/result.rb +2 -2
  76. data/lib/{csv_decision → csv_decision2}/scan.rb +3 -3
  77. data/lib/{csv_decision → csv_decision2}/scan_row.rb +2 -2
  78. data/lib/{csv_decision → csv_decision2}/table.rb +8 -8
  79. data/lib/{csv_decision → csv_decision2}/validate.rb +2 -2
  80. data/lib/csv_decision2.rb +45 -0
  81. data/spec/{csv_decision → csv_decision2}/columns_spec.rb +44 -44
  82. data/spec/{csv_decision → csv_decision2}/constant_spec.rb +4 -4
  83. data/spec/{csv_decision → csv_decision2}/data_spec.rb +11 -11
  84. data/spec/{csv_decision → csv_decision2}/decision_spec.rb +6 -6
  85. data/spec/{csv_decision → csv_decision2}/examples_spec.rb +14 -14
  86. data/spec/{csv_decision → csv_decision2}/index_spec.rb +8 -8
  87. data/spec/{csv_decision → csv_decision2}/input_spec.rb +9 -9
  88. data/spec/{csv_decision → csv_decision2}/load_spec.rb +8 -8
  89. data/spec/{csv_decision → csv_decision2}/matchers/function_spec.rb +7 -7
  90. data/spec/{csv_decision → csv_decision2}/matchers/guard_spec.rb +14 -14
  91. data/spec/{csv_decision → csv_decision2}/matchers/numeric_spec.rb +5 -5
  92. data/spec/{csv_decision → csv_decision2}/matchers/pattern_spec.rb +6 -6
  93. data/spec/{csv_decision → csv_decision2}/matchers/range_spec.rb +5 -5
  94. data/spec/{csv_decision → csv_decision2}/matchers/symbol_spec.rb +6 -6
  95. data/spec/{csv_decision → csv_decision2}/options_spec.rb +18 -18
  96. data/spec/csv_decision2/parse_spec.rb +44 -0
  97. data/spec/{csv_decision → csv_decision2}/table_spec.rb +17 -17
  98. data/spec/csv_decision2_spec.rb +7 -0
  99. metadata +64 -64
  100. data/lib/csv_decision.rb +0 -45
  101. data/spec/csv_decision/parse_spec.rb +0 -44
  102. data/spec/csv_decision_spec.rb +0 -7
@@ -1,23 +1,24 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: CSVDecision::Scan::InputHashes
8
-
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>
8
+ Class: CSVDecision2::Scan::InputHashes
9
+
9
10
  &mdash; Documentation by YARD 0.9.12
10
-
11
- </title>
11
+
12
+ </title>
12
13
 
13
14
  <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
15
 
15
16
  <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
17
 
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "CSVDecision::Scan::InputHashes";
19
- relpath = '../../';
20
- </script>
18
+ <script type="text/javascript" charset="utf-8">
19
+ pathId = "CSVDecision2::Scan::InputHashes";
20
+ relpath = '../../';
21
+ </script>
21
22
 
22
23
 
23
24
  <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
@@ -25,300 +26,315 @@
25
26
  <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
27
 
27
28
 
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
29
+ </head>
30
+
31
+ <body>
32
+ <div class="nav_wrap">
33
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
34
+ <div id="resizer"></div>
35
+ </div>
36
+
37
+ <div id="main" tabindex="-1">
38
+ <div id="header">
39
+ <div id="menu">
40
+
41
+ <a href="../../_index.html">Index (I)</a> &raquo;
42
+ <span class='title'><span class='object_link'><a href="../../CSVDecision2.html"
43
+ title="CSVDecision (module)">CSVDecision</a></span></span> &raquo; <span class='title'><span
44
+ class='object_link'><a href="../Scan.html" title="CSVDecision2::Scan (class)">Scan</a></span></span>
45
+ &raquo;
46
+ <span class="title">InputHashes</span>
47
+
48
+ </div>
49
+
50
+ <div id="search">
51
+
52
+ <a class="full_list_link" id="class_list_link" href="../../class_list.html">
53
+
54
+ <svg width="24" height="24">
55
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
56
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
57
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
58
+ </svg>
59
+ </a>
60
+
61
+ </div>
62
+ <div class="clear"></div>
33
63
  </div>
34
64
 
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../../_index.html">Index (I)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../CSVDecision.html" title="CSVDecision (module)">CSVDecision</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Scan.html" title="CSVDecision::Scan (class)">Scan</a></span></span>
41
- &raquo;
42
- <span class="title">InputHashes</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
65
+ <div id="content">
66
+ <h1>Class: CSVDecision2::Scan::InputHashes
67
+
68
+
69
+ <span class="private note title">Private</span>
70
+ </h1>
71
+ <div class="box_info">
72
+
73
+ <dl>
74
+ <dt>Inherits:</dt>
75
+ <dd>
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">CSVDecision2::Scan::InputHashes</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/csv_decision2/scan.rb</dd>
102
+ </dl>
103
+
60
104
  </div>
61
105
 
62
- <div id="content"><h1>Class: CSVDecision::Scan::InputHashes
63
-
64
-
65
- <span class="private note title">Private</span>
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">CSVDecision::Scan::InputHashes</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/csv_decision/scan.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
- <p class="note private">
105
- <strong>This class is part of a private API.</strong>
106
- You should avoid using this class if possible, as it may be removed or be changed in the future.
107
- </p>
108
-
109
- <p>Derive the parsed input hash, using a cache for speed.</p>
106
+ <h2>Overview</h2>
107
+ <div class="docstring">
108
+ <div class="discussion">
109
+ <p class="note private">
110
+ <strong>This class is part of a private API.</strong>
111
+ You should avoid using this class if possible, as it may be removed or be changed in the future.
112
+ </p>
110
113
 
114
+ <p>Derive the parsed input hash, using a cache for speed.</p>
111
115
 
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
116
 
117
- </div>
117
+ </div>
118
+ </div>
119
+ <div class="tags">
120
+
121
+
122
+ </div>
123
+
118
124
 
119
125
 
120
126
 
121
127
 
122
128
 
123
129
 
124
-
125
- <h2>
126
- Instance Method Summary
127
- <small><a href="#" class="summary_toggle">collapse</a></small>
128
- </h2>
130
+ <h2>
131
+ Instance Method Summary
132
+ <small><a href="#" class="summary_toggle">collapse</a></small>
133
+ </h2>
134
+
135
+ <ul class="summary">
129
136
 
130
- <ul class="summary">
131
-
132
137
  <li class="public ">
133
- <span class="summary_signature">
134
-
135
- <a href="#data-instance_method" title="#data (instance method)">#<strong>data</strong>(table:, path:, input:) &#x21d2; Hash{Symbol=&gt;Object} </a>
136
-
137
-
138
-
139
- </span>
140
-
141
-
142
-
143
-
144
-
145
-
146
- <span class="private note title">private</span>
147
-
148
-
149
- <span class="summary_desc"><div class='inline'>
150
- <p>Parsed input hash.</p>
151
- </div></span>
152
-
153
- </li>
154
-
155
-
138
+ <span class="summary_signature">
139
+
140
+ <a href="#data-instance_method" title="#data (instance method)">#<strong>data</strong>(table:, path:,
141
+ input:) &#x21d2; Hash{Symbol=&gt;Object} </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+ <span class="private note title">private</span>
153
+
154
+
155
+ <span class="summary_desc">
156
+ <div class='inline'>
157
+ <p>Parsed input hash.</p>
158
+ </div>
159
+ </span>
160
+
161
+ </li>
162
+
163
+
156
164
  <li class="public ">
157
- <span class="summary_signature">
158
-
159
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; InputHashes </a>
160
-
161
-
162
-
163
- </span>
164
-
165
-
166
- <span class="note title constructor">constructor</span>
167
-
168
-
169
-
170
-
171
-
172
- <span class="private note title">private</span>
173
-
174
-
175
- <span class="summary_desc"><div class='inline'>
176
- <p>A new instance of InputHashes.</p>
177
- </div></span>
178
-
179
- </li>
180
-
181
-
182
- </ul>
183
-
184
-
185
- <div id="constructor_details" class="method_details_list">
186
- <h2>Constructor Details</h2>
187
-
188
- <div class="method_details first">
189
- <h3 class="signature first" id="initialize-instance_method">
190
-
191
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="CSVDecision::Scan::InputHashes (class)">InputHashes</a></span></tt>
192
-
193
-
194
-
195
-
196
-
197
- </h3><div class="docstring">
198
- <div class="discussion">
199
- <p class="note private">
200
- <strong>This method is part of a private API.</strong>
201
- You should avoid using this method if possible, as it may be removed or be changed in the future.
202
- </p>
203
-
204
- <p>Returns a new instance of InputHashes</p>
165
+ <span class="summary_signature">
166
+
167
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>
168
+ &#x21d2; InputHashes </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+ <span class="note title constructor">constructor</span>
205
176
 
206
177
 
207
- </div>
208
- </div>
209
- <div class="tags">
210
-
211
178
 
212
- </div><table class="source_code">
213
- <tr>
214
- <td>
215
- <pre class="lines">
179
+
180
+
181
+ <span class="private note title">private</span>
182
+
183
+
184
+ <span class="summary_desc">
185
+ <div class='inline'>
186
+ <p>A new instance of InputHashes.</p>
187
+ </div>
188
+ </span>
189
+
190
+ </li>
191
+
192
+
193
+ </ul>
194
+
195
+
196
+ <div id="constructor_details" class="method_details_list">
197
+ <h2>Constructor Details</h2>
198
+
199
+ <div class="method_details first">
200
+ <h3 class="signature first" id="initialize-instance_method">
201
+
202
+ #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href=""
203
+ title="CSVDecision2::Scan::InputHashes (class)">InputHashes</a></span></tt>
204
+
205
+
206
+
207
+
208
+
209
+ </h3>
210
+ <div class="docstring">
211
+ <div class="discussion">
212
+ <p class="note private">
213
+ <strong>This method is part of a private API.</strong>
214
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
215
+ </p>
216
+
217
+ <p>Returns a new instance of InputHashes</p>
218
+
219
+
220
+ </div>
221
+ </div>
222
+ <div class="tags">
223
+
224
+
225
+ </div>
226
+ <table class="source_code">
227
+ <tr>
228
+ <td>
229
+ <pre class="lines">
216
230
 
217
231
 
218
232
  71
219
233
  72
220
234
  73</pre>
221
- </td>
222
- <td>
223
- <pre class="code"><span class="info file"># File 'lib/csv_decision/scan.rb', line 71</span>
235
+ </td>
236
+ <td>
237
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/scan.rb', line 71</span>
224
238
 
225
239
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
226
240
  <span class='ivar'>@input_hashes</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
227
241
  <span class='kw'>end</span></pre>
228
- </td>
229
- </tr>
230
- </table>
231
- </div>
232
-
233
- </div>
242
+ </td>
243
+ </tr>
244
+ </table>
245
+ </div>
246
+
247
+ </div>
234
248
 
235
249
 
236
- <div id="instance_method_details" class="method_details_list">
237
- <h2>Instance Method Details</h2>
250
+ <div id="instance_method_details" class="method_details_list">
251
+ <h2>Instance Method Details</h2>
238
252
 
239
-
240
- <div class="method_details first">
241
- <h3 class="signature first" id="data-instance_method">
242
-
243
- #<strong>data</strong>(table:, path:, input:) &#x21d2; <tt>Hash{Symbol=&gt;Object}</tt>
244
-
245
253
 
246
-
254
+ <div class="method_details first">
255
+ <h3 class="signature first" id="data-instance_method">
247
256
 
248
-
249
- </h3><div class="docstring">
250
- <div class="discussion">
251
- <p class="note private">
252
- <strong>This method is part of a private API.</strong>
253
- You should avoid using this method if possible, as it may be removed or be changed in the future.
254
- </p>
257
+ #<strong>data</strong>(table:, path:, input:) &#x21d2; <tt>Hash{Symbol=&gt;Object}</tt>
255
258
 
256
- <p>Returns Parsed input hash.</p>
257
259
 
258
260
 
259
- </div>
260
- </div>
261
- <div class="tags">
262
- <p class="tag_title">Parameters:</p>
263
- <ul class="param">
264
-
265
- <li>
266
-
267
- <span class='name'>path</span>
268
-
269
-
270
- <span class='type'>(<tt>Array&lt;Symbol] Path for the input hash.</tt>)</span>
271
-
272
-
273
-
274
- &mdash;
275
- <div class='inline'>
276
- <p>ath [Array&lt;Symbol] Path for the input hash.</p>
277
- </div>
278
-
279
- </li>
280
-
281
- <li>
282
-
283
- <span class='name'>input</span>
284
-
285
-
286
- <span class='type'>(<tt>Hash{Symbol=&gt;Object}</tt>)</span>
287
-
288
-
289
-
290
- &mdash;
291
- <div class='inline'>
292
- <p>Input hash.</p>
293
- </div>
294
-
295
- </li>
296
-
297
- </ul>
298
-
299
- <p class="tag_title">Returns:</p>
300
- <ul class="return">
301
-
302
- <li>
303
-
304
-
305
- <span class='type'>(<tt>Hash{Symbol=&gt;Object}</tt>)</span>
306
-
307
-
308
-
309
- &mdash;
310
- <div class='inline'>
311
- <p>Parsed input hash.</p>
312
- </div>
313
-
314
- </li>
315
-
316
- </ul>
317
-
318
- </div><table class="source_code">
319
- <tr>
320
- <td>
321
- <pre class="lines">
261
+
262
+
263
+ </h3>
264
+ <div class="docstring">
265
+ <div class="discussion">
266
+ <p class="note private">
267
+ <strong>This method is part of a private API.</strong>
268
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
269
+ </p>
270
+
271
+ <p>Returns Parsed input hash.</p>
272
+
273
+
274
+ </div>
275
+ </div>
276
+ <div class="tags">
277
+ <p class="tag_title">Parameters:</p>
278
+ <ul class="param">
279
+
280
+ <li>
281
+
282
+ <span class='name'>path</span>
283
+
284
+
285
+ <span class='type'>(<tt>Array&lt;Symbol] Path for the input hash.</tt>)</span>
286
+
287
+
288
+
289
+ &mdash;
290
+ <div class='inline'>
291
+ <p>ath [Array&lt;Symbol] Path for the input hash.</p>
292
+ </div>
293
+
294
+ </li>
295
+
296
+ <li>
297
+
298
+ <span class='name'>input</span>
299
+
300
+
301
+ <span class='type'>(<tt>Hash{Symbol=&gt;Object}</tt>)</span>
302
+
303
+
304
+
305
+ &mdash;
306
+ <div class='inline'>
307
+ <p>Input hash.</p>
308
+ </div>
309
+
310
+ </li>
311
+
312
+ </ul>
313
+
314
+ <p class="tag_title">Returns:</p>
315
+ <ul class="return">
316
+
317
+ <li>
318
+
319
+
320
+ <span class='type'>(<tt>Hash{Symbol=&gt;Object}</tt>)</span>
321
+
322
+
323
+
324
+ &mdash;
325
+ <div class='inline'>
326
+ <p>Parsed input hash.</p>
327
+ </div>
328
+
329
+ </li>
330
+
331
+ </ul>
332
+
333
+ </div>
334
+ <table class="source_code">
335
+ <tr>
336
+ <td>
337
+ <pre class="lines">
322
338
 
323
339
 
324
340
  78
@@ -333,9 +349,9 @@
333
349
  87
334
350
  88
335
351
  89</pre>
336
- </td>
337
- <td>
338
- <pre class="code"><span class="info file"># File 'lib/csv_decision/scan.rb', line 78</span>
352
+ </td>
353
+ <td>
354
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/scan.rb', line 78</span>
339
355
 
340
356
  <span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span><span class='lparen'>(</span><span class='label'>table:</span><span class='comma'>,</span> <span class='label'>path:</span><span class='comma'>,</span> <span class='label'>input:</span><span class='rparen'>)</span>
341
357
  <span class='kw'>return</span> <span class='ivar'>@input_hashes</span><span class='lbracket'>[</span><span class='id identifier rubyid_path'>path</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='ivar'>@input_hashes</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
@@ -344,26 +360,27 @@
344
360
  </span> <span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='id identifier rubyid_input'>input</span> <span class='op'>:</span> <span class='id identifier rubyid_input'>input</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
345
361
 
346
362
  <span class='comment'># Parse and transform the hash supplied as input
347
- </span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span> <span class='op'>?</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='op'>:</span> <span class='const'><span class='object_link'><a href="../Input.html" title="CSVDecision::Input (module)">Input</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse_data'><span class='object_link'><a href="../Input.html#parse_data-class_method" title="CSVDecision::Input.parse_data (method)">parse_data</a></span></span><span class='lparen'>(</span><span class='label'>table:</span> <span class='id identifier rubyid_table'>table</span><span class='comma'>,</span> <span class='label'>input:</span> <span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
363
+ </span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span> <span class='op'>?</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='op'>:</span> <span class='const'><span class='object_link'><a href="../Input.html" title="CSVDecision2::Input (module)">Input</a></span></span><span class='period'>.</span><span class='id identifier rubyid_parse_data'><span class='object_link'><a href="../Input.html#parse_data-class_method" title="CSVDecision2::Input.parse_data (method)">parse_data</a></span></span><span class='lparen'>(</span><span class='label'>table:</span> <span class='id identifier rubyid_table'>table</span><span class='comma'>,</span> <span class='label'>input:</span> <span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
348
364
 
349
365
  <span class='comment'># Cache the parsed input hash data for this path
350
366
  </span> <span class='ivar'>@input_hashes</span><span class='lbracket'>[</span><span class='id identifier rubyid_path'>path</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span>
351
367
  <span class='kw'>end</span></pre>
352
- </td>
353
- </tr>
354
- </table>
355
- </div>
356
-
357
- </div>
368
+ </td>
369
+ </tr>
370
+ </table>
371
+ </div>
358
372
 
359
- </div>
373
+ </div>
360
374
 
361
- <div id="footer">
362
- Generated on Sun Feb 11 10:26:07 2018 by
363
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
364
- 0.9.12 (ruby-2.4.0).
365
- </div>
375
+ </div>
366
376
 
377
+ <div id="footer">
378
+ Generated on Sun Feb 11 10:26:07 2018 by
379
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
380
+ 0.9.12 (ruby-2.4.0).
367
381
  </div>
368
- </body>
369
- </html>
382
+
383
+ </div>
384
+ </body>
385
+
386
+ </html>