csv_decision2 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
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::Columns::Dictionary
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::Columns::Dictionary
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::Columns::Dictionary";
19
- relpath = '../../';
20
- </script>
18
+ <script type="text/javascript" charset="utf-8">
19
+ pathId = "CSVDecision2::Columns::Dictionary";
20
+ relpath = '../../';
21
+ </script>
21
22
 
22
23
 
23
24
  <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
@@ -25,341 +26,370 @@
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 (D)</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="../Columns.html"
45
+ title="CSVDecision2::Columns (class)">Columns</a></span></span>
46
+ &raquo;
47
+ <span class="title">Dictionary</span>
48
+
49
+ </div>
50
+
51
+ <div id="search">
52
+
53
+ <a class="full_list_link" id="class_list_link" href="../../class_list.html">
54
+
55
+ <svg width="24" height="24">
56
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
57
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
58
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
59
+ </svg>
60
+ </a>
61
+
62
+ </div>
63
+ <div class="clear"></div>
33
64
  </div>
34
65
 
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../../_index.html">Index (D)</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="../Columns.html" title="CSVDecision::Columns (class)">Columns</a></span></span>
41
- &raquo;
42
- <span class="title">Dictionary</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>
66
+ <div id="content">
67
+ <h1>Class: CSVDecision2::Columns::Dictionary
68
+
69
+
70
+ <span class="private note title">Private</span>
71
+ </h1>
72
+ <div class="box_info">
73
+
74
+ <dl>
75
+ <dt>Inherits:</dt>
76
+ <dd>
77
+ <span class="inheritName">Object</span>
78
+
79
+ <ul class="fullTree">
80
+ <li>Object</li>
81
+
82
+ <li class="next">CSVDecision2::Columns::Dictionary</li>
83
+
84
+ </ul>
85
+ <a href="#" class="inheritanceTree">show all</a>
86
+
87
+ </dd>
88
+ </dl>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/csv_decision2/columns.rb</dd>
103
+ </dl>
104
+
60
105
  </div>
61
106
 
62
- <div id="content"><h1>Class: CSVDecision::Columns::Dictionary
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::Columns::Dictionary</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/columns.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>Dictionary of all table data columns. The key of each hash is the header
110
- cell&#39;s array column index. Note that input and output columns may be
111
- interspersed, and multiple input columns may refer to the same input hash
112
- key symbol. However, output columns must have unique symbols, which cannot
113
- overlap with input column symbols.</p>
107
+ <h2>Overview</h2>
108
+ <div class="docstring">
109
+ <div class="discussion">
110
+ <p class="note private">
111
+ <strong>This class is part of a private API.</strong>
112
+ You should avoid using this class if possible, as it may be removed or be changed in the future.
113
+ </p>
114
114
 
115
+ <p>Dictionary of all table data columns. The key of each hash is the header
116
+ cell&#39;s array column index. Note that input and output columns may be
117
+ interspersed, and multiple input columns may refer to the same input hash
118
+ key symbol. However, output columns must have unique symbols, which cannot
119
+ overlap with input column symbols.</p>
120
+
121
+
122
+ </div>
123
+ </div>
124
+ <div class="tags">
125
+
126
+
127
+ </div>
128
+
129
+
130
+
131
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
132
+ <ul class="summary">
115
133
 
116
- </div>
117
- </div>
118
- <div class="tags">
119
-
120
-
121
- </div>
122
-
123
-
124
-
125
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
126
- <ul class="summary">
127
-
128
- <li class="public ">
129
- <span class="summary_signature">
130
-
131
- <a href="#columns-instance_method" title="#columns (instance method)">#<strong>columns</strong> &#x21d2; Hash{Integer=&gt;Entry} </a>
132
-
133
-
134
-
135
- </span>
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
- <span class="private note title">private</span>
146
-
147
-
148
- <span class="summary_desc"><div class='inline'>
149
- <p>All column names.</p>
150
- </div></span>
151
-
152
- </li>
153
-
154
-
155
- <li class="public ">
156
- <span class="summary_signature">
157
-
158
- <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2; Hash{Integer=&gt;Entry} </a>
159
-
160
-
161
-
162
- </span>
163
-
164
-
165
-
166
-
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>All defaulted input column dictionary entries.</p>
177
- </div></span>
178
-
179
- </li>
180
-
181
-
182
- <li class="public ">
183
- <span class="summary_signature">
184
-
185
- <a href="#ifs-instance_method" title="#ifs (instance method)">#<strong>ifs</strong> &#x21d2; Hash{Integer=&gt;Entry} </a>
186
-
187
-
188
-
189
- </span>
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
- <span class="private note title">private</span>
200
-
201
-
202
- <span class="summary_desc"><div class='inline'>
203
- <p>All if: column dictionary entries.</p>
204
- </div></span>
205
-
206
- </li>
207
-
208
-
209
- <li class="public ">
210
- <span class="summary_signature">
211
-
212
- <a href="#ins-instance_method" title="#ins (instance method)">#<strong>ins</strong> &#x21d2; Hash{Integer=&gt;Entry} </a>
213
-
214
-
215
-
216
- </span>
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
- <span class="private note title">private</span>
227
-
228
-
229
- <span class="summary_desc"><div class='inline'>
230
- <p>All input column dictionary entries.</p>
231
- </div></span>
232
-
233
- </li>
234
-
235
-
236
- <li class="public ">
237
- <span class="summary_signature">
238
-
239
- <a href="#outs-instance_method" title="#outs (instance method)">#<strong>outs</strong> &#x21d2; Hash{Integer=&gt;Entry} </a>
240
-
241
-
242
-
243
- </span>
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
- <span class="private note title">private</span>
254
-
255
-
256
- <span class="summary_desc"><div class='inline'>
257
- <p>All output column dictionary entries.</p>
258
- </div></span>
259
-
260
- </li>
261
-
262
-
263
- <li class="public ">
264
- <span class="summary_signature">
265
-
266
- <a href="#paths-instance_method" title="#paths (instance method)">#<strong>paths</strong> &#x21d2; Hash{Integer=&gt;Symbol} </a>
267
-
268
-
269
-
270
- </span>
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
- <span class="private note title">private</span>
281
-
282
-
283
- <span class="summary_desc"><div class='inline'>
284
- <p>All path columns.</p>
285
- </div></span>
286
-
287
- </li>
288
-
289
-
290
- </ul>
291
-
292
-
293
-
294
-
295
-
296
- <h2>
297
- Instance Method Summary
298
- <small><a href="#" class="summary_toggle">collapse</a></small>
299
- </h2>
300
-
301
- <ul class="summary">
302
-
303
134
  <li class="public ">
304
- <span class="summary_signature">
305
-
306
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; Dictionary </a>
307
-
308
-
309
-
310
- </span>
311
-
312
-
313
- <span class="note title constructor">constructor</span>
314
-
315
-
316
-
317
-
318
-
319
- <span class="private note title">private</span>
320
-
321
-
322
- <span class="summary_desc"><div class='inline'>
323
- <p>A new instance of Dictionary.</p>
324
- </div></span>
325
-
326
- </li>
327
-
328
-
329
- </ul>
330
-
331
-
332
- <div id="constructor_details" class="method_details_list">
333
- <h2>Constructor Details</h2>
334
-
335
- <div class="method_details first">
336
- <h3 class="signature first" id="initialize-instance_method">
337
-
338
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="CSVDecision::Columns::Dictionary (class)">Dictionary</a></span></tt>
339
-
340
-
341
-
342
-
343
-
344
- </h3><div class="docstring">
345
- <div class="discussion">
346
- <p class="note private">
347
- <strong>This method is part of a private API.</strong>
348
- You should avoid using this method if possible, as it may be removed or be changed in the future.
349
- </p>
350
-
351
- <p>Returns a new instance of Dictionary</p>
135
+ <span class="summary_signature">
352
136
 
137
+ <a href="#columns-instance_method" title="#columns (instance method)">#<strong>columns</strong> &#x21d2;
138
+ Hash{Integer=&gt;Entry} </a>
353
139
 
354
- </div>
355
- </div>
356
- <div class="tags">
357
-
358
140
 
359
- </div><table class="source_code">
360
- <tr>
361
- <td>
362
- <pre class="lines">
141
+
142
+ </span>
143
+
144
+
145
+
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>All column names.</p>
158
+ </div>
159
+ </span>
160
+
161
+ </li>
162
+
163
+
164
+ <li class="public ">
165
+ <span class="summary_signature">
166
+
167
+ <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2;
168
+ Hash{Integer=&gt;Entry} </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ <span class="private note title">private</span>
183
+
184
+
185
+ <span class="summary_desc">
186
+ <div class='inline'>
187
+ <p>All defaulted input column dictionary entries.</p>
188
+ </div>
189
+ </span>
190
+
191
+ </li>
192
+
193
+
194
+ <li class="public ">
195
+ <span class="summary_signature">
196
+
197
+ <a href="#ifs-instance_method" title="#ifs (instance method)">#<strong>ifs</strong> &#x21d2;
198
+ Hash{Integer=&gt;Entry} </a>
199
+
200
+
201
+
202
+ </span>
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="private note title">private</span>
213
+
214
+
215
+ <span class="summary_desc">
216
+ <div class='inline'>
217
+ <p>All if: column dictionary entries.</p>
218
+ </div>
219
+ </span>
220
+
221
+ </li>
222
+
223
+
224
+ <li class="public ">
225
+ <span class="summary_signature">
226
+
227
+ <a href="#ins-instance_method" title="#ins (instance method)">#<strong>ins</strong> &#x21d2;
228
+ Hash{Integer=&gt;Entry} </a>
229
+
230
+
231
+
232
+ </span>
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+ <span class="private note title">private</span>
243
+
244
+
245
+ <span class="summary_desc">
246
+ <div class='inline'>
247
+ <p>All input column dictionary entries.</p>
248
+ </div>
249
+ </span>
250
+
251
+ </li>
252
+
253
+
254
+ <li class="public ">
255
+ <span class="summary_signature">
256
+
257
+ <a href="#outs-instance_method" title="#outs (instance method)">#<strong>outs</strong> &#x21d2;
258
+ Hash{Integer=&gt;Entry} </a>
259
+
260
+
261
+
262
+ </span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="private note title">private</span>
273
+
274
+
275
+ <span class="summary_desc">
276
+ <div class='inline'>
277
+ <p>All output column dictionary entries.</p>
278
+ </div>
279
+ </span>
280
+
281
+ </li>
282
+
283
+
284
+ <li class="public ">
285
+ <span class="summary_signature">
286
+
287
+ <a href="#paths-instance_method" title="#paths (instance method)">#<strong>paths</strong> &#x21d2;
288
+ Hash{Integer=&gt;Symbol} </a>
289
+
290
+
291
+
292
+ </span>
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+ <span class="private note title">private</span>
303
+
304
+
305
+ <span class="summary_desc">
306
+ <div class='inline'>
307
+ <p>All path columns.</p>
308
+ </div>
309
+ </span>
310
+
311
+ </li>
312
+
313
+
314
+ </ul>
315
+
316
+
317
+
318
+
319
+
320
+ <h2>
321
+ Instance Method Summary
322
+ <small><a href="#" class="summary_toggle">collapse</a></small>
323
+ </h2>
324
+
325
+ <ul class="summary">
326
+
327
+ <li class="public ">
328
+ <span class="summary_signature">
329
+
330
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>
331
+ &#x21d2; Dictionary </a>
332
+
333
+
334
+
335
+ </span>
336
+
337
+
338
+ <span class="note title constructor">constructor</span>
339
+
340
+
341
+
342
+
343
+
344
+ <span class="private note title">private</span>
345
+
346
+
347
+ <span class="summary_desc">
348
+ <div class='inline'>
349
+ <p>A new instance of Dictionary.</p>
350
+ </div>
351
+ </span>
352
+
353
+ </li>
354
+
355
+
356
+ </ul>
357
+
358
+
359
+ <div id="constructor_details" class="method_details_list">
360
+ <h2>Constructor Details</h2>
361
+
362
+ <div class="method_details first">
363
+ <h3 class="signature first" id="initialize-instance_method">
364
+
365
+ #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href=""
366
+ title="CSVDecision2::Columns::Dictionary (class)">Dictionary</a></span></tt>
367
+
368
+
369
+
370
+
371
+
372
+ </h3>
373
+ <div class="docstring">
374
+ <div class="discussion">
375
+ <p class="note private">
376
+ <strong>This method is part of a private API.</strong>
377
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
378
+ </p>
379
+
380
+ <p>Returns a new instance of Dictionary</p>
381
+
382
+
383
+ </div>
384
+ </div>
385
+ <div class="tags">
386
+
387
+
388
+ </div>
389
+ <table class="source_code">
390
+ <tr>
391
+ <td>
392
+ <pre class="lines">
363
393
 
364
394
 
365
395
  122
@@ -370,9 +400,9 @@ overlap with input column symbols.</p>
370
400
  127
371
401
  128
372
402
  129</pre>
373
- </td>
374
- <td>
375
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 122</span>
403
+ </td>
404
+ <td>
405
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 122</span>
376
406
 
377
407
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
378
408
  <span class='ivar'>@columns</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
@@ -382,420 +412,433 @@ overlap with input column symbols.</p>
382
412
  <span class='ivar'>@outs</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
383
413
  <span class='ivar'>@paths</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
384
414
  <span class='kw'>end</span></pre>
385
- </td>
386
- </tr>
387
- </table>
388
- </div>
389
-
390
- </div>
391
-
392
- <div id="instance_attr_details" class="attr_details">
393
- <h2>Instance Attribute Details</h2>
394
-
395
-
396
- <span id="columns=-instance_method"></span>
397
- <div class="method_details first">
398
- <h3 class="signature first" id="columns-instance_method">
399
-
400
- #<strong>columns</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
401
-
402
-
403
-
404
-
405
-
406
- </h3><div class="docstring">
407
- <div class="discussion">
408
- <p class="note private">
409
- <strong>This method is part of a private API.</strong>
410
- You should avoid using this method if possible, as it may be removed or be changed in the future.
411
- </p>
412
-
413
- <p>Returns All column names.</p>
415
+ </td>
416
+ </tr>
417
+ </table>
418
+ </div>
419
+
420
+ </div>
421
+
422
+ <div id="instance_attr_details" class="attr_details">
423
+ <h2>Instance Attribute Details</h2>
424
+
425
+
426
+ <span id="columns=-instance_method"></span>
427
+ <div class="method_details first">
428
+ <h3 class="signature first" id="columns-instance_method">
429
+
430
+ #<strong>columns</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
431
+
432
+
414
433
 
415
434
 
416
- </div>
417
- </div>
418
- <div class="tags">
419
-
420
- <p class="tag_title">Returns:</p>
421
- <ul class="return">
422
-
423
- <li>
424
-
425
-
426
- <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
427
-
428
-
429
-
430
- &mdash;
431
- <div class='inline'>
432
- <p>All column names.</p>
433
- </div>
434
-
435
- </li>
436
-
437
- </ul>
438
-
439
- </div><table class="source_code">
440
- <tr>
441
- <td>
442
- <pre class="lines">
435
+
436
+ </h3>
437
+ <div class="docstring">
438
+ <div class="discussion">
439
+ <p class="note private">
440
+ <strong>This method is part of a private API.</strong>
441
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
442
+ </p>
443
+
444
+ <p>Returns All column names.</p>
445
+
446
+
447
+ </div>
448
+ </div>
449
+ <div class="tags">
450
+
451
+ <p class="tag_title">Returns:</p>
452
+ <ul class="return">
453
+
454
+ <li>
455
+
456
+
457
+ <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
458
+
459
+
460
+
461
+ &mdash;
462
+ <div class='inline'>
463
+ <p>All column names.</p>
464
+ </div>
465
+
466
+ </li>
467
+
468
+ </ul>
469
+
470
+ </div>
471
+ <table class="source_code">
472
+ <tr>
473
+ <td>
474
+ <pre class="lines">
443
475
 
444
476
 
445
477
  102
446
478
  103
447
479
  104</pre>
448
- </td>
449
- <td>
450
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 102</span>
480
+ </td>
481
+ <td>
482
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 102</span>
451
483
 
452
484
  <span class='kw'>def</span> <span class='id identifier rubyid_columns'>columns</span>
453
485
  <span class='ivar'>@columns</span>
454
486
  <span class='kw'>end</span></pre>
455
- </td>
456
- </tr>
457
- </table>
458
- </div>
459
-
460
-
461
- <span id="defaults=-instance_method"></span>
462
- <div class="method_details ">
463
- <h3 class="signature " id="defaults-instance_method">
464
-
465
- #<strong>defaults</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
466
-
467
-
468
-
469
-
470
-
471
- </h3><div class="docstring">
472
- <div class="discussion">
473
- <p class="note private">
474
- <strong>This method is part of a private API.</strong>
475
- You should avoid using this method if possible, as it may be removed or be changed in the future.
476
- </p>
477
-
478
- <p>Returns All defaulted input column dictionary entries. This is actually
479
- just a subset of :ins.</p>
487
+ </td>
488
+ </tr>
489
+ </table>
490
+ </div>
491
+
492
+
493
+ <span id="defaults=-instance_method"></span>
494
+ <div class="method_details ">
495
+ <h3 class="signature " id="defaults-instance_method">
496
+
497
+ #<strong>defaults</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
498
+
499
+
480
500
 
481
501
 
482
- </div>
483
- </div>
484
- <div class="tags">
485
-
486
- <p class="tag_title">Returns:</p>
487
- <ul class="return">
488
-
489
- <li>
490
-
491
-
492
- <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
493
-
494
-
495
-
496
- &mdash;
497
- <div class='inline'>
498
- <p>All defaulted input column dictionary entries. This is actually just a
499
- subset of :ins.</p>
500
- </div>
501
-
502
- </li>
503
-
504
- </ul>
505
-
506
- </div><table class="source_code">
507
- <tr>
508
- <td>
509
- <pre class="lines">
502
+
503
+ </h3>
504
+ <div class="docstring">
505
+ <div class="discussion">
506
+ <p class="note private">
507
+ <strong>This method is part of a private API.</strong>
508
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
509
+ </p>
510
+
511
+ <p>Returns All defaulted input column dictionary entries. This is actually
512
+ just a subset of :ins.</p>
513
+
514
+
515
+ </div>
516
+ </div>
517
+ <div class="tags">
518
+
519
+ <p class="tag_title">Returns:</p>
520
+ <ul class="return">
521
+
522
+ <li>
523
+
524
+
525
+ <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
526
+
527
+
528
+
529
+ &mdash;
530
+ <div class='inline'>
531
+ <p>All defaulted input column dictionary entries. This is actually just a
532
+ subset of :ins.</p>
533
+ </div>
534
+
535
+ </li>
536
+
537
+ </ul>
538
+
539
+ </div>
540
+ <table class="source_code">
541
+ <tr>
542
+ <td>
543
+ <pre class="lines">
510
544
 
511
545
 
512
546
  109
513
547
  110
514
548
  111</pre>
515
- </td>
516
- <td>
517
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 109</span>
549
+ </td>
550
+ <td>
551
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 109</span>
518
552
 
519
553
  <span class='kw'>def</span> <span class='id identifier rubyid_defaults'>defaults</span>
520
554
  <span class='ivar'>@defaults</span>
521
555
  <span class='kw'>end</span></pre>
522
- </td>
523
- </tr>
524
- </table>
525
- </div>
526
-
527
-
528
- <span id="ifs=-instance_method"></span>
529
- <div class="method_details ">
530
- <h3 class="signature " id="ifs-instance_method">
531
-
532
- #<strong>ifs</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
533
-
534
-
535
-
536
-
537
-
538
- </h3><div class="docstring">
539
- <div class="discussion">
540
- <p class="note private">
541
- <strong>This method is part of a private API.</strong>
542
- You should avoid using this method if possible, as it may be removed or be changed in the future.
543
- </p>
544
-
545
- <p>Returns All if: column dictionary entries. This is actually just a subset
546
- of :outs.</p>
556
+ </td>
557
+ </tr>
558
+ </table>
559
+ </div>
560
+
561
+
562
+ <span id="ifs=-instance_method"></span>
563
+ <div class="method_details ">
564
+ <h3 class="signature " id="ifs-instance_method">
565
+
566
+ #<strong>ifs</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
567
+
568
+
547
569
 
548
570
 
549
- </div>
550
- </div>
551
- <div class="tags">
552
-
553
- <p class="tag_title">Returns:</p>
554
- <ul class="return">
555
-
556
- <li>
557
-
558
-
559
- <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
560
-
561
-
562
-
563
- &mdash;
564
- <div class='inline'>
565
- <p>All if: column dictionary entries. This is actually just a subset of :outs.</p>
566
- </div>
567
-
568
- </li>
569
-
570
- </ul>
571
-
572
- </div><table class="source_code">
573
- <tr>
574
- <td>
575
- <pre class="lines">
571
+
572
+ </h3>
573
+ <div class="docstring">
574
+ <div class="discussion">
575
+ <p class="note private">
576
+ <strong>This method is part of a private API.</strong>
577
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
578
+ </p>
579
+
580
+ <p>Returns All if: column dictionary entries. This is actually just a subset
581
+ of :outs.</p>
582
+
583
+
584
+ </div>
585
+ </div>
586
+ <div class="tags">
587
+
588
+ <p class="tag_title">Returns:</p>
589
+ <ul class="return">
590
+
591
+ <li>
592
+
593
+
594
+ <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
595
+
596
+
597
+
598
+ &mdash;
599
+ <div class='inline'>
600
+ <p>All if: column dictionary entries. This is actually just a subset of :outs.</p>
601
+ </div>
602
+
603
+ </li>
604
+
605
+ </ul>
606
+
607
+ </div>
608
+ <table class="source_code">
609
+ <tr>
610
+ <td>
611
+ <pre class="lines">
576
612
 
577
613
 
578
614
  116
579
615
  117
580
616
  118</pre>
581
- </td>
582
- <td>
583
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 116</span>
617
+ </td>
618
+ <td>
619
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 116</span>
584
620
 
585
621
  <span class='kw'>def</span> <span class='id identifier rubyid_ifs'>ifs</span>
586
622
  <span class='ivar'>@ifs</span>
587
623
  <span class='kw'>end</span></pre>
588
- </td>
589
- </tr>
590
- </table>
591
- </div>
592
-
593
-
594
- <span id="ins=-instance_method"></span>
595
- <div class="method_details ">
596
- <h3 class="signature " id="ins-instance_method">
597
-
598
- #<strong>ins</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
599
-
600
-
601
-
602
-
603
-
604
- </h3><div class="docstring">
605
- <div class="discussion">
606
- <p class="note private">
607
- <strong>This method is part of a private API.</strong>
608
- You should avoid using this method if possible, as it may be removed or be changed in the future.
609
- </p>
610
-
611
- <p>Returns All input column dictionary entries.</p>
624
+ </td>
625
+ </tr>
626
+ </table>
627
+ </div>
628
+
629
+
630
+ <span id="ins=-instance_method"></span>
631
+ <div class="method_details ">
632
+ <h3 class="signature " id="ins-instance_method">
633
+
634
+ #<strong>ins</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
635
+
636
+
612
637
 
613
638
 
614
- </div>
615
- </div>
616
- <div class="tags">
617
-
618
- <p class="tag_title">Returns:</p>
619
- <ul class="return">
620
-
621
- <li>
622
-
623
-
624
- <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
625
-
626
-
627
-
628
- &mdash;
629
- <div class='inline'>
630
- <p>All input column dictionary entries.</p>
631
- </div>
632
-
633
- </li>
634
-
635
- </ul>
636
-
637
- </div><table class="source_code">
638
- <tr>
639
- <td>
640
- <pre class="lines">
639
+
640
+ </h3>
641
+ <div class="docstring">
642
+ <div class="discussion">
643
+ <p class="note private">
644
+ <strong>This method is part of a private API.</strong>
645
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
646
+ </p>
647
+
648
+ <p>Returns All input column dictionary entries.</p>
649
+
650
+
651
+ </div>
652
+ </div>
653
+ <div class="tags">
654
+
655
+ <p class="tag_title">Returns:</p>
656
+ <ul class="return">
657
+
658
+ <li>
659
+
660
+
661
+ <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
662
+
663
+
664
+
665
+ &mdash;
666
+ <div class='inline'>
667
+ <p>All input column dictionary entries.</p>
668
+ </div>
669
+
670
+ </li>
671
+
672
+ </ul>
673
+
674
+ </div>
675
+ <table class="source_code">
676
+ <tr>
677
+ <td>
678
+ <pre class="lines">
641
679
 
642
680
 
643
681
  105
644
682
  106
645
683
  107</pre>
646
- </td>
647
- <td>
648
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 105</span>
684
+ </td>
685
+ <td>
686
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 105</span>
649
687
 
650
688
  <span class='kw'>def</span> <span class='id identifier rubyid_ins'>ins</span>
651
689
  <span class='ivar'>@ins</span>
652
690
  <span class='kw'>end</span></pre>
653
- </td>
654
- </tr>
655
- </table>
656
- </div>
657
-
658
-
659
- <span id="outs=-instance_method"></span>
660
- <div class="method_details ">
661
- <h3 class="signature " id="outs-instance_method">
662
-
663
- #<strong>outs</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
664
-
665
-
666
-
667
-
668
-
669
- </h3><div class="docstring">
670
- <div class="discussion">
671
- <p class="note private">
672
- <strong>This method is part of a private API.</strong>
673
- You should avoid using this method if possible, as it may be removed or be changed in the future.
674
- </p>
675
-
676
- <p>Returns All output column dictionary entries.</p>
691
+ </td>
692
+ </tr>
693
+ </table>
694
+ </div>
695
+
696
+
697
+ <span id="outs=-instance_method"></span>
698
+ <div class="method_details ">
699
+ <h3 class="signature " id="outs-instance_method">
700
+
701
+ #<strong>outs</strong> &#x21d2; <tt>Hash{Integer=&gt;Entry}</tt>
702
+
703
+
677
704
 
678
705
 
679
- </div>
680
- </div>
681
- <div class="tags">
682
-
683
- <p class="tag_title">Returns:</p>
684
- <ul class="return">
685
-
686
- <li>
687
-
688
-
689
- <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
690
-
691
-
692
-
693
- &mdash;
694
- <div class='inline'>
695
- <p>All output column dictionary entries.</p>
696
- </div>
697
-
698
- </li>
699
-
700
- </ul>
701
-
702
- </div><table class="source_code">
703
- <tr>
704
- <td>
705
- <pre class="lines">
706
+
707
+ </h3>
708
+ <div class="docstring">
709
+ <div class="discussion">
710
+ <p class="note private">
711
+ <strong>This method is part of a private API.</strong>
712
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
713
+ </p>
714
+
715
+ <p>Returns All output column dictionary entries.</p>
716
+
717
+
718
+ </div>
719
+ </div>
720
+ <div class="tags">
721
+
722
+ <p class="tag_title">Returns:</p>
723
+ <ul class="return">
724
+
725
+ <li>
726
+
727
+
728
+ <span class='type'>(<tt>Hash{Integer=&gt;Entry}</tt>)</span>
729
+
730
+
731
+
732
+ &mdash;
733
+ <div class='inline'>
734
+ <p>All output column dictionary entries.</p>
735
+ </div>
736
+
737
+ </li>
738
+
739
+ </ul>
740
+
741
+ </div>
742
+ <table class="source_code">
743
+ <tr>
744
+ <td>
745
+ <pre class="lines">
706
746
 
707
747
 
708
748
  112
709
749
  113
710
750
  114</pre>
711
- </td>
712
- <td>
713
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 112</span>
751
+ </td>
752
+ <td>
753
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 112</span>
714
754
 
715
755
  <span class='kw'>def</span> <span class='id identifier rubyid_outs'>outs</span>
716
756
  <span class='ivar'>@outs</span>
717
757
  <span class='kw'>end</span></pre>
718
- </td>
719
- </tr>
720
- </table>
721
- </div>
722
-
723
-
724
- <span id="paths=-instance_method"></span>
725
- <div class="method_details ">
726
- <h3 class="signature " id="paths-instance_method">
727
-
728
- #<strong>paths</strong> &#x21d2; <tt>Hash{Integer=&gt;Symbol}</tt>
729
-
730
-
731
-
732
-
733
-
734
- </h3><div class="docstring">
735
- <div class="discussion">
736
- <p class="note private">
737
- <strong>This method is part of a private API.</strong>
738
- You should avoid using this method if possible, as it may be removed or be changed in the future.
739
- </p>
740
-
741
- <p>Returns All path columns. This is actually just a subset of :outs.</p>
758
+ </td>
759
+ </tr>
760
+ </table>
761
+ </div>
762
+
763
+
764
+ <span id="paths=-instance_method"></span>
765
+ <div class="method_details ">
766
+ <h3 class="signature " id="paths-instance_method">
767
+
768
+ #<strong>paths</strong> &#x21d2; <tt>Hash{Integer=&gt;Symbol}</tt>
769
+
770
+
742
771
 
743
772
 
744
- </div>
745
- </div>
746
- <div class="tags">
747
-
748
- <p class="tag_title">Returns:</p>
749
- <ul class="return">
750
-
751
- <li>
752
-
753
-
754
- <span class='type'>(<tt>Hash{Integer=&gt;Symbol}</tt>)</span>
755
-
756
-
757
-
758
- &mdash;
759
- <div class='inline'>
760
- <p>All path columns. This is actually just a subset of :outs.</p>
761
- </div>
762
-
763
- </li>
764
-
765
- </ul>
766
-
767
- </div><table class="source_code">
768
- <tr>
769
- <td>
770
- <pre class="lines">
773
+
774
+ </h3>
775
+ <div class="docstring">
776
+ <div class="discussion">
777
+ <p class="note private">
778
+ <strong>This method is part of a private API.</strong>
779
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
780
+ </p>
781
+
782
+ <p>Returns All path columns. This is actually just a subset of :outs.</p>
783
+
784
+
785
+ </div>
786
+ </div>
787
+ <div class="tags">
788
+
789
+ <p class="tag_title">Returns:</p>
790
+ <ul class="return">
791
+
792
+ <li>
793
+
794
+
795
+ <span class='type'>(<tt>Hash{Integer=&gt;Symbol}</tt>)</span>
796
+
797
+
798
+
799
+ &mdash;
800
+ <div class='inline'>
801
+ <p>All path columns. This is actually just a subset of :outs.</p>
802
+ </div>
803
+
804
+ </li>
805
+
806
+ </ul>
807
+
808
+ </div>
809
+ <table class="source_code">
810
+ <tr>
811
+ <td>
812
+ <pre class="lines">
771
813
 
772
814
 
773
815
  120
774
816
  121
775
817
  122</pre>
776
- </td>
777
- <td>
778
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 120</span>
818
+ </td>
819
+ <td>
820
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 120</span>
779
821
 
780
822
  <span class='kw'>def</span> <span class='id identifier rubyid_paths'>paths</span>
781
823
  <span class='ivar'>@paths</span>
782
824
  <span class='kw'>end</span></pre>
783
- </td>
784
- </tr>
785
- </table>
786
- </div>
787
-
788
- </div>
825
+ </td>
826
+ </tr>
827
+ </table>
828
+ </div>
789
829
 
830
+ </div>
790
831
 
791
- </div>
792
832
 
793
- <div id="footer">
794
- Generated on Sun Feb 11 10:26:08 2018 by
795
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
796
- 0.9.12 (ruby-2.4.0).
797
- </div>
833
+ </div>
798
834
 
835
+ <div id="footer">
836
+ Generated on Sun Feb 11 10:26:08 2018 by
837
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
838
+ 0.9.12 (ruby-2.4.0).
799
839
  </div>
800
- </body>
801
- </html>
840
+
841
+ </div>
842
+ </body>
843
+
844
+ </html>