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
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
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";
19
- relpath = '../';
20
- </script>
18
+ <script type="text/javascript" charset="utf-8">
19
+ pathId = "CSVDecision2::Columns";
20
+ relpath = '../';
21
+ </script>
21
22
 
22
23
 
23
24
  <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
@@ -25,480 +26,528 @@
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 (C)</a> &raquo;
42
+ <span class='title'><span class='object_link'><a href="../CSVDecision2.html"
43
+ title="CSVDecision (module)">CSVDecision</a></span></span>
44
+ &raquo;
45
+ <span class="title">Columns</span>
46
+
47
+ </div>
48
+
49
+ <div id="search">
50
+
51
+ <a class="full_list_link" id="class_list_link" href="../class_list.html">
52
+
53
+ <svg width="24" height="24">
54
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
+ </svg>
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
33
62
  </div>
34
63
 
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (C)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../CSVDecision.html" title="CSVDecision (module)">CSVDecision</a></span></span>
41
- &raquo;
42
- <span class="title">Columns</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>
64
+ <div id="content">
65
+ <h1>Class: CSVDecision2::Columns
66
+
67
+
68
+ <span class="private note title">Private</span>
69
+ </h1>
70
+ <div class="box_info">
71
+
72
+ <dl>
73
+ <dt>Inherits:</dt>
74
+ <dd>
75
+ <span class="inheritName">Object</span>
76
+
77
+ <ul class="fullTree">
78
+ <li>Object</li>
79
+
80
+ <li class="next">CSVDecision2::Columns</li>
81
+
82
+ </ul>
83
+ <a href="#" class="inheritanceTree">show all</a>
84
+
85
+ </dd>
86
+ </dl>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dl>
99
+ <dt>Defined in:</dt>
100
+ <dd>lib/csv_decision2/columns.rb</dd>
101
+ </dl>
102
+
60
103
  </div>
61
104
 
62
- <div id="content"><h1>Class: CSVDecision::Columns
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</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 this table&#39;s columns - inputs, outputs etc.</p>
105
+ <h2>Overview</h2>
106
+ <div class="docstring">
107
+ <div class="discussion">
108
+ <p class="note private">
109
+ <strong>This class is part of a private API.</strong>
110
+ You should avoid using this class if possible, as it may be removed or be changed in the future.
111
+ </p>
110
112
 
113
+ <p>Dictionary of all this table&#39;s columns - inputs, outputs etc.</p>
114
+
115
+
116
+ </div>
117
+ </div>
118
+ <div class="tags">
119
+
120
+
121
+ </div>
122
+ <h2>Defined Under Namespace</h2>
123
+ <p class="children">
124
+
125
+
126
+
127
+
128
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Columns/Dictionary.html"
129
+ title="CSVDecision2::Columns::Dictionary (class)">Dictionary</a></span>
130
+
131
+
132
+ </p>
111
133
 
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
134
 
117
- </div><h2>Defined Under Namespace</h2>
118
- <p class="children">
119
-
120
-
121
-
122
-
123
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Columns/Dictionary.html" title="CSVDecision::Columns::Dictionary (class)">Dictionary</a></span>
124
-
125
-
126
- </p>
127
135
 
128
136
 
129
137
 
130
138
 
131
139
 
132
140
 
141
+ <h2>
142
+ Class Method Summary
143
+ <small><a href="#" class="summary_toggle">collapse</a></small>
144
+ </h2>
133
145
 
134
-
135
- <h2>
136
- Class Method Summary
137
- <small><a href="#" class="summary_toggle">collapse</a></small>
138
- </h2>
146
+ <ul class="summary">
139
147
 
140
- <ul class="summary">
141
-
142
148
  <li class="public ">
143
- <span class="summary_signature">
144
-
145
- <a href="#ins_cell_dictionary-class_method" title="ins_cell_dictionary (class method)">.<strong>ins_cell_dictionary</strong>(columns:, cell:) &#x21d2; void </a>
146
-
147
-
148
-
149
- </span>
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="private note title">private</span>
157
-
158
-
159
- <span class="summary_desc"><div class='inline'></div></span>
160
-
161
- </li>
162
-
163
-
149
+ <span class="summary_signature">
150
+
151
+ <a href="#ins_cell_dictionary-class_method"
152
+ title="ins_cell_dictionary (class method)">.<strong>ins_cell_dictionary</strong>(columns:, cell:) &#x21d2;
153
+ void </a>
154
+
155
+
156
+
157
+ </span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+ <span class="private note title">private</span>
165
+
166
+
167
+ <span class="summary_desc">
168
+ <div class='inline'></div>
169
+ </span>
170
+
171
+ </li>
172
+
173
+
164
174
  <li class="public ">
165
- <span class="summary_signature">
166
-
167
- <a href="#ins_dictionary-class_method" title="ins_dictionary (class method)">.<strong>ins_dictionary</strong>(columns:, row:) &#x21d2; void </a>
168
-
169
-
170
-
171
- </span>
172
-
173
-
174
-
175
-
176
-
177
-
178
- <span class="private note title">private</span>
179
-
180
-
181
- <span class="summary_desc"><div class='inline'></div></span>
182
-
183
- </li>
184
-
185
-
175
+ <span class="summary_signature">
176
+
177
+ <a href="#ins_dictionary-class_method"
178
+ title="ins_dictionary (class method)">.<strong>ins_dictionary</strong>(columns:, row:) &#x21d2; void </a>
179
+
180
+
181
+
182
+ </span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="private note title">private</span>
190
+
191
+
192
+ <span class="summary_desc">
193
+ <div class='inline'></div>
194
+ </span>
195
+
196
+ </li>
197
+
198
+
186
199
  <li class="public ">
187
- <span class="summary_signature">
188
-
189
- <a href="#outs_dictionary-class_method" title="outs_dictionary (class method)">.<strong>outs_dictionary</strong>(columns:, row:) &#x21d2; void </a>
190
-
191
-
192
-
193
- </span>
194
-
195
-
196
-
197
-
198
-
199
-
200
- <span class="private note title">private</span>
201
-
202
-
203
- <span class="summary_desc"><div class='inline'></div></span>
204
-
205
- </li>
206
-
207
-
208
- </ul>
209
-
210
- <h2>
211
- Instance Method Summary
212
- <small><a href="#" class="summary_toggle">collapse</a></small>
213
- </h2>
214
-
215
- <ul class="summary">
216
-
200
+ <span class="summary_signature">
201
+
202
+ <a href="#outs_dictionary-class_method"
203
+ title="outs_dictionary (class method)">.<strong>outs_dictionary</strong>(columns:, row:) &#x21d2; void
204
+ </a>
205
+
206
+
207
+
208
+ </span>
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="private note title">private</span>
216
+
217
+
218
+ <span class="summary_desc">
219
+ <div class='inline'></div>
220
+ </span>
221
+
222
+ </li>
223
+
224
+
225
+ </ul>
226
+
227
+ <h2>
228
+ Instance Method Summary
229
+ <small><a href="#" class="summary_toggle">collapse</a></small>
230
+ </h2>
231
+
232
+ <ul class="summary">
233
+
217
234
  <li class="public ">
218
- <span class="summary_signature">
219
-
220
- <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2; Object </a>
221
-
222
-
223
-
224
- </span>
225
-
226
-
227
-
228
-
229
-
230
-
231
- <span class="private note title">private</span>
232
-
233
-
234
- <span class="summary_desc"><div class='inline'>
235
- <p>Input columns with defaults specified.</p>
236
- </div></span>
237
-
238
- </li>
239
-
240
-
235
+ <span class="summary_signature">
236
+
237
+ <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2;
238
+ Object </a>
239
+
240
+
241
+
242
+ </span>
243
+
244
+
245
+
246
+
247
+
248
+
249
+ <span class="private note title">private</span>
250
+
251
+
252
+ <span class="summary_desc">
253
+ <div class='inline'>
254
+ <p>Input columns with defaults specified.</p>
255
+ </div>
256
+ </span>
257
+
258
+ </li>
259
+
260
+
241
261
  <li class="public ">
242
- <span class="summary_signature">
243
-
244
- <a href="#defaults=-instance_method" title="#defaults= (instance method)">#<strong>defaults=</strong>(value) &#x21d2; Object </a>
245
-
246
-
247
-
248
- </span>
249
-
250
-
251
-
252
-
253
-
254
-
255
- <span class="private note title">private</span>
256
-
257
-
258
- <span class="summary_desc"><div class='inline'>
259
- <p>Set defaults for columns with defaults specified.</p>
260
- </div></span>
261
-
262
- </li>
263
-
264
-
262
+ <span class="summary_signature">
263
+
264
+ <a href="#defaults=-instance_method" title="#defaults= (instance method)">#<strong>defaults=</strong>(value)
265
+ &#x21d2; Object </a>
266
+
267
+
268
+
269
+ </span>
270
+
271
+
272
+
273
+
274
+
275
+
276
+ <span class="private note title">private</span>
277
+
278
+
279
+ <span class="summary_desc">
280
+ <div class='inline'>
281
+ <p>Set defaults for columns with defaults specified.</p>
282
+ </div>
283
+ </span>
284
+
285
+ </li>
286
+
287
+
265
288
  <li class="public ">
266
- <span class="summary_signature">
267
-
268
- <a href="#dictionary-instance_method" title="#dictionary (instance method)">#<strong>dictionary</strong> &#x21d2; Hash{Symbol=&gt;[false, Integer]} </a>
269
-
270
-
271
-
272
- </span>
273
-
274
-
275
-
276
-
277
-
278
-
279
- <span class="private note title">private</span>
280
-
281
-
282
- <span class="summary_desc"><div class='inline'>
283
- <p>Dictionary of all input and output column names.</p>
284
- </div></span>
285
-
286
- </li>
287
-
288
-
289
+ <span class="summary_signature">
290
+
291
+ <a href="#dictionary-instance_method" title="#dictionary (instance method)">#<strong>dictionary</strong>
292
+ &#x21d2; Hash{Symbol=&gt;[false, Integer]} </a>
293
+
294
+
295
+
296
+ </span>
297
+
298
+
299
+
300
+
301
+
302
+
303
+ <span class="private note title">private</span>
304
+
305
+
306
+ <span class="summary_desc">
307
+ <div class='inline'>
308
+ <p>Dictionary of all input and output column names.</p>
309
+ </div>
310
+ </span>
311
+
312
+ </li>
313
+
314
+
289
315
  <li class="public ">
290
- <span class="summary_signature">
291
-
292
- <a href="#ifs-instance_method" title="#ifs (instance method)">#<strong>ifs</strong> &#x21d2; Hash{Index=&gt;Entry} </a>
293
-
294
-
295
-
296
- </span>
297
-
298
-
299
-
300
-
301
-
302
-
303
- <span class="private note title">private</span>
304
-
305
-
306
- <span class="summary_desc"><div class='inline'>
307
- <p>if: columns hash keyed by column index.</p>
308
- </div></span>
309
-
310
- </li>
311
-
312
-
316
+ <span class="summary_signature">
317
+
318
+ <a href="#ifs-instance_method" title="#ifs (instance method)">#<strong>ifs</strong> &#x21d2;
319
+ Hash{Index=&gt;Entry} </a>
320
+
321
+
322
+
323
+ </span>
324
+
325
+
326
+
327
+
328
+
329
+
330
+ <span class="private note title">private</span>
331
+
332
+
333
+ <span class="summary_desc">
334
+ <div class='inline'>
335
+ <p>if: columns hash keyed by column index.</p>
336
+ </div>
337
+ </span>
338
+
339
+ </li>
340
+
341
+
313
342
  <li class="public ">
314
- <span class="summary_signature">
315
-
316
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(table) &#x21d2; Columns </a>
317
-
318
-
319
-
320
- </span>
321
-
322
-
323
- <span class="note title constructor">constructor</span>
324
-
325
-
326
-
327
-
328
-
329
- <span class="private note title">private</span>
330
-
331
-
332
- <span class="summary_desc"><div class='inline'>
333
- <p>A new instance of Columns.</p>
334
- </div></span>
335
-
336
- </li>
337
-
338
-
343
+ <span class="summary_signature">
344
+
345
+ <a href="#initialize-instance_method"
346
+ title="#initialize (instance method)">#<strong>initialize</strong>(table) &#x21d2; Columns </a>
347
+
348
+
349
+
350
+ </span>
351
+
352
+
353
+ <span class="note title constructor">constructor</span>
354
+
355
+
356
+
357
+
358
+
359
+ <span class="private note title">private</span>
360
+
361
+
362
+ <span class="summary_desc">
363
+ <div class='inline'>
364
+ <p>A new instance of Columns.</p>
365
+ </div>
366
+ </span>
367
+
368
+ </li>
369
+
370
+
339
371
  <li class="public ">
340
- <span class="summary_signature">
341
-
342
- <a href="#input_keys-instance_method" title="#input_keys (instance method)">#<strong>input_keys</strong> &#x21d2; Array&lt;Symbol&gt; </a>
343
-
344
-
345
-
346
- </span>
347
-
348
-
349
-
350
-
351
-
352
-
353
- <span class="private note title">private</span>
354
-
355
-
356
- <span class="summary_desc"><div class='inline'>
357
- <p>All input column symbols.</p>
358
- </div></span>
359
-
360
- </li>
361
-
362
-
372
+ <span class="summary_signature">
373
+
374
+ <a href="#input_keys-instance_method" title="#input_keys (instance method)">#<strong>input_keys</strong>
375
+ &#x21d2; Array&lt;Symbol&gt; </a>
376
+
377
+
378
+
379
+ </span>
380
+
381
+
382
+
383
+
384
+
385
+
386
+ <span class="private note title">private</span>
387
+
388
+
389
+ <span class="summary_desc">
390
+ <div class='inline'>
391
+ <p>All input column symbols.</p>
392
+ </div>
393
+ </span>
394
+
395
+ </li>
396
+
397
+
363
398
  <li class="public ">
364
- <span class="summary_signature">
365
-
366
- <a href="#ins-instance_method" title="#ins (instance method)">#<strong>ins</strong> &#x21d2; Hash{Index=&gt;Entry} </a>
367
-
368
-
369
-
370
- </span>
371
-
372
-
373
-
374
-
375
-
376
-
377
- <span class="private note title">private</span>
378
-
379
-
380
- <span class="summary_desc"><div class='inline'>
381
- <p>Input columns hash keyed by column index.</p>
382
- </div></span>
383
-
384
- </li>
385
-
386
-
399
+ <span class="summary_signature">
400
+
401
+ <a href="#ins-instance_method" title="#ins (instance method)">#<strong>ins</strong> &#x21d2;
402
+ Hash{Index=&gt;Entry} </a>
403
+
404
+
405
+
406
+ </span>
407
+
408
+
409
+
410
+
411
+
412
+
413
+ <span class="private note title">private</span>
414
+
415
+
416
+ <span class="summary_desc">
417
+ <div class='inline'>
418
+ <p>Input columns hash keyed by column index.</p>
419
+ </div>
420
+ </span>
421
+
422
+ </li>
423
+
424
+
387
425
  <li class="public ">
388
- <span class="summary_signature">
389
-
390
- <a href="#outs-instance_method" title="#outs (instance method)">#<strong>outs</strong> &#x21d2; Hash{Index=&gt;Entry} </a>
391
-
392
-
393
-
394
- </span>
395
-
396
-
397
-
398
-
399
-
400
-
401
- <span class="private note title">private</span>
402
-
403
-
404
- <span class="summary_desc"><div class='inline'>
405
- <p>Output columns hash keyed by column index.</p>
406
- </div></span>
407
-
408
- </li>
409
-
410
-
426
+ <span class="summary_signature">
427
+
428
+ <a href="#outs-instance_method" title="#outs (instance method)">#<strong>outs</strong> &#x21d2;
429
+ Hash{Index=&gt;Entry} </a>
430
+
431
+
432
+
433
+ </span>
434
+
435
+
436
+
437
+
438
+
439
+
440
+ <span class="private note title">private</span>
441
+
442
+
443
+ <span class="summary_desc">
444
+ <div class='inline'>
445
+ <p>Output columns hash keyed by column index.</p>
446
+ </div>
447
+ </span>
448
+
449
+ </li>
450
+
451
+
411
452
  <li class="public ">
412
- <span class="summary_signature">
413
-
414
- <a href="#paths-instance_method" title="#paths (instance method)">#<strong>paths</strong> &#x21d2; Hash{Index=&gt;Entry} </a>
415
-
416
-
417
-
418
- </span>
419
-
420
-
421
-
422
-
423
-
424
-
425
- <span class="private note title">private</span>
426
-
427
-
428
- <span class="summary_desc"><div class='inline'>
429
- <p>path: columns hash keyed by column index.</p>
430
- </div></span>
431
-
432
- </li>
433
-
434
-
435
- </ul>
436
-
437
-
438
- <div id="constructor_details" class="method_details_list">
439
- <h2>Constructor Details</h2>
440
-
441
- <div class="method_details first">
442
- <h3 class="signature first" id="initialize-instance_method">
443
-
444
- #<strong>initialize</strong>(table) &#x21d2; <tt><span class='object_link'><a href="" title="CSVDecision::Columns (class)">Columns</a></span></tt>
445
-
446
-
447
-
448
-
449
-
450
- </h3><div class="docstring">
451
- <div class="discussion">
452
- <p class="note private">
453
- <strong>This method is part of a private API.</strong>
454
- You should avoid using this method if possible, as it may be removed or be changed in the future.
455
- </p>
456
-
457
- <p>Returns a new instance of Columns</p>
453
+ <span class="summary_signature">
458
454
 
455
+ <a href="#paths-instance_method" title="#paths (instance method)">#<strong>paths</strong> &#x21d2;
456
+ Hash{Index=&gt;Entry} </a>
459
457
 
460
- </div>
461
- </div>
462
- <div class="tags">
463
- <p class="tag_title">Parameters:</p>
464
- <ul class="param">
465
-
466
- <li>
467
-
468
- <span class='name'>table</span>
469
-
470
-
471
- <span class='type'>(<tt><span class='object_link'><a href="Table.html" title="CSVDecision::Table (class)">Table</a></span></tt>)</span>
472
-
473
-
474
-
475
- &mdash;
476
- <div class='inline'>
477
- <p>Decision table being constructed.</p>
478
- </div>
479
-
480
- </li>
481
-
482
- </ul>
483
-
484
- <p class="tag_title">Raises:</p>
485
- <ul class="raise">
486
-
487
- <li>
488
-
489
-
490
- <span class='type'>(<tt><span class='object_link'><a href="TableValidationError.html" title="CSVDecision::TableValidationError (class)">TableValidationError</a></span></tt>)</span>
491
-
492
-
493
-
494
- </li>
495
-
496
- </ul>
497
-
498
- </div><table class="source_code">
499
- <tr>
500
- <td>
501
- <pre class="lines">
458
+
459
+
460
+ </span>
461
+
462
+
463
+
464
+
465
+
466
+
467
+ <span class="private note title">private</span>
468
+
469
+
470
+ <span class="summary_desc">
471
+ <div class='inline'>
472
+ <p>path: columns hash keyed by column index.</p>
473
+ </div>
474
+ </span>
475
+
476
+ </li>
477
+
478
+
479
+ </ul>
480
+
481
+
482
+ <div id="constructor_details" class="method_details_list">
483
+ <h2>Constructor Details</h2>
484
+
485
+ <div class="method_details first">
486
+ <h3 class="signature first" id="initialize-instance_method">
487
+
488
+ #<strong>initialize</strong>(table) &#x21d2; <tt><span class='object_link'><a href=""
489
+ title="CSVDecision2::Columns (class)">Columns</a></span></tt>
490
+
491
+
492
+
493
+
494
+
495
+ </h3>
496
+ <div class="docstring">
497
+ <div class="discussion">
498
+ <p class="note private">
499
+ <strong>This method is part of a private API.</strong>
500
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
501
+ </p>
502
+
503
+ <p>Returns a new instance of Columns</p>
504
+
505
+
506
+ </div>
507
+ </div>
508
+ <div class="tags">
509
+ <p class="tag_title">Parameters:</p>
510
+ <ul class="param">
511
+
512
+ <li>
513
+
514
+ <span class='name'>table</span>
515
+
516
+
517
+ <span class='type'>(<tt><span class='object_link'><a href="Table.html"
518
+ title="CSVDecision2::Table (class)">Table</a></span></tt>)</span>
519
+
520
+
521
+
522
+ &mdash;
523
+ <div class='inline'>
524
+ <p>Decision table being constructed.</p>
525
+ </div>
526
+
527
+ </li>
528
+
529
+ </ul>
530
+
531
+ <p class="tag_title">Raises:</p>
532
+ <ul class="raise">
533
+
534
+ <li>
535
+
536
+
537
+ <span class='type'>(<tt><span class='object_link'><a href="TableValidationError.html"
538
+ title="CSVDecision2::TableValidationError (class)">TableValidationError</a></span></tt>)</span>
539
+
540
+
541
+
542
+ </li>
543
+
544
+ </ul>
545
+
546
+ </div>
547
+ <table class="source_code">
548
+ <tr>
549
+ <td>
550
+ <pre class="lines">
502
551
 
503
552
 
504
553
  178
@@ -514,97 +563,100 @@
514
563
  188
515
564
  189
516
565
  190</pre>
517
- </td>
518
- <td>
519
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 178</span>
566
+ </td>
567
+ <td>
568
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 178</span>
520
569
 
521
570
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_table'>table</span><span class='rparen'>)</span>
522
571
  <span class='comment'># If a column does not have a valid header cell, then it&#39;s empty of data.
523
572
  </span> <span class='comment'># Return the stripped header row, and remove it from the data array.
524
- </span> <span class='id identifier rubyid_row'>row</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Header.html" title="CSVDecision::Header (module)">Header</a></span></span><span class='period'>.</span><span class='id identifier rubyid_strip_empty_columns'><span class='object_link'><a href="Header.html#strip_empty_columns-class_method" title="CSVDecision::Header.strip_empty_columns (method)">strip_empty_columns</a></span></span><span class='lparen'>(</span><span class='label'>rows:</span> <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_rows'>rows</span><span class='rparen'>)</span>
573
+ </span> <span class='id identifier rubyid_row'>row</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Header.html" title="CSVDecision2::Header (module)">Header</a></span></span><span class='period'>.</span><span class='id identifier rubyid_strip_empty_columns'><span class='object_link'><a href="Header.html#strip_empty_columns-class_method" title="CSVDecision2::Header.strip_empty_columns (method)">strip_empty_columns</a></span></span><span class='lparen'>(</span><span class='label'>rows:</span> <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_rows'>rows</span><span class='rparen'>)</span>
525
574
 
526
575
  <span class='comment'># No header row found?
527
- </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="TableValidationError.html" title="CSVDecision::TableValidationError (class)">TableValidationError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>table has no header row</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_row'>row</span>
576
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="TableValidationError.html" title="CSVDecision2::TableValidationError (class)">TableValidationError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>table has no header row</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_row'>row</span>
528
577
 
529
578
  <span class='comment'># Build a dictionary of all valid data columns from the header row.
530
- </span> <span class='ivar'>@dictionary</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../CSVDecision.html" title="CSVDecision (module)">CSVDecision</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Dictionary.html" title="CSVDecision::Dictionary (module)">Dictionary</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build'><span class='object_link'><a href="Dictionary.html#build-class_method" title="CSVDecision::Dictionary.build (method)">build</a></span></span><span class='lparen'>(</span><span class='label'>header:</span> <span class='id identifier rubyid_row'>row</span><span class='comma'>,</span> <span class='label'>dictionary:</span> <span class='const'><span class='object_link'><a href="Columns/Dictionary.html" title="CSVDecision::Columns::Dictionary (class)">Dictionary</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Columns/Dictionary.html#initialize-instance_method" title="CSVDecision::Columns::Dictionary#initialize (method)">new</a></span></span><span class='rparen'>)</span>
579
+ </span> <span class='ivar'>@dictionary</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../CSVDecision2.html" title="CSVDecision (module)">CSVDecision</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Dictionary.html" title="CSVDecision2::Dictionary (module)">Dictionary</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build'><span class='object_link'><a href="Dictionary.html#build-class_method" title="CSVDecision2::Dictionary.build (method)">build</a></span></span><span class='lparen'>(</span><span class='label'>header:</span> <span class='id identifier rubyid_row'>row</span><span class='comma'>,</span> <span class='label'>dictionary:</span> <span class='const'><span class='object_link'><a href="Columns/Dictionary.html" title="CSVDecision2::Columns::Dictionary (class)">Dictionary</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Columns/Dictionary.html#initialize-instance_method" title="CSVDecision2::Columns::Dictionary#initialize (method)">new</a></span></span><span class='rparen'>)</span>
531
580
 
532
581
  <span class='id identifier rubyid_freeze'>freeze</span>
533
582
  <span class='kw'>end</span></pre>
534
- </td>
535
- </tr>
536
- </table>
537
- </div>
538
-
539
- </div>
540
-
541
-
542
- <div id="class_method_details" class="method_details_list">
543
- <h2>Class Method Details</h2>
544
-
545
-
546
- <div class="method_details first">
547
- <h3 class="signature first" id="ins_cell_dictionary-class_method">
548
-
549
- .<strong>ins_cell_dictionary</strong>(columns:, cell:) &#x21d2; <tt>void</tt>
550
-
551
-
552
-
553
-
554
-
555
- </h3><div class="docstring">
556
- <div class="discussion">
557
- <p class="note private">
558
- <strong>This method is part of a private API.</strong>
559
- You should avoid using this method if possible, as it may be removed or be changed in the future.
560
- </p>
561
- <p class="note returns_void">This method returns an undefined value.</p>
583
+ </td>
584
+ </tr>
585
+ </table>
586
+ </div>
562
587
 
563
- </div>
564
- </div>
565
- <div class="tags">
566
- <p class="tag_title">Parameters:</p>
567
- <ul class="param">
568
-
569
- <li>
570
-
571
- <span class='name'>columns</span>
572
-
573
-
574
- <span class='type'>(<tt><span class='object_link'><a href="" title="CSVDecision::Columns (class)">CSVDecision::Columns</a></span></tt>)</span>
575
-
576
-
577
-
578
- &mdash;
579
- <div class='inline'>
580
- <p>Table&#39;s columns dictionary.</p>
581
- </div>
582
-
583
- </li>
584
-
585
- <li>
586
-
587
- <span class='name'>cell</span>
588
-
589
-
590
- <span class='type'>(<tt>Object</tt>)</span>
591
-
592
-
593
-
594
- &mdash;
595
- <div class='inline'>
596
- <p>Data row cell.</p>
597
- </div>
598
-
599
- </li>
600
-
601
- </ul>
602
-
603
-
604
- </div><table class="source_code">
605
- <tr>
606
- <td>
607
- <pre class="lines">
588
+ </div>
589
+
590
+
591
+ <div id="class_method_details" class="method_details_list">
592
+ <h2>Class Method Details</h2>
593
+
594
+
595
+ <div class="method_details first">
596
+ <h3 class="signature first" id="ins_cell_dictionary-class_method">
597
+
598
+ .<strong>ins_cell_dictionary</strong>(columns:, cell:) &#x21d2; <tt>void</tt>
599
+
600
+
601
+
602
+
603
+
604
+ </h3>
605
+ <div class="docstring">
606
+ <div class="discussion">
607
+ <p class="note private">
608
+ <strong>This method is part of a private API.</strong>
609
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
610
+ </p>
611
+ <p class="note returns_void">This method returns an undefined value.</p>
612
+
613
+ </div>
614
+ </div>
615
+ <div class="tags">
616
+ <p class="tag_title">Parameters:</p>
617
+ <ul class="param">
618
+
619
+ <li>
620
+
621
+ <span class='name'>columns</span>
622
+
623
+
624
+ <span class='type'>(<tt><span class='object_link'><a href=""
625
+ title="CSVDecision2::Columns (class)">CSVDecision2::Columns</a></span></tt>)</span>
626
+
627
+
628
+
629
+ &mdash;
630
+ <div class='inline'>
631
+ <p>Table&#39;s columns dictionary.</p>
632
+ </div>
633
+
634
+ </li>
635
+
636
+ <li>
637
+
638
+ <span class='name'>cell</span>
639
+
640
+
641
+ <span class='type'>(<tt>Object</tt>)</span>
642
+
643
+
644
+
645
+ &mdash;
646
+ <div class='inline'>
647
+ <p>Data row cell.</p>
648
+ </div>
649
+
650
+ </li>
651
+
652
+ </ul>
653
+
654
+
655
+ </div>
656
+ <table class="source_code">
657
+ <tr>
658
+ <td>
659
+ <pre class="lines">
608
660
 
609
661
 
610
662
  30
@@ -613,162 +665,168 @@
613
665
  33
614
666
  34
615
667
  35</pre>
616
- </td>
617
- <td>
618
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 30</span>
668
+ </td>
669
+ <td>
670
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 30</span>
619
671
 
620
672
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ins_cell_dictionary'>ins_cell_dictionary</span><span class='lparen'>(</span><span class='label'>columns:</span><span class='comma'>,</span> <span class='label'>cell:</span><span class='rparen'>)</span>
621
- <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_cell'>cell</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Matchers.html" title="CSVDecision::Matchers (class)">Matchers</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Matchers/Proc.html" title="CSVDecision::Matchers::Proc (class)">Proc</a></span></span><span class='rparen'>)</span>
673
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_cell'>cell</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Matchers.html" title="CSVDecision2::Matchers (class)">Matchers</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Matchers/Proc.html" title="CSVDecision2::Matchers::Proc (class)">Proc</a></span></span><span class='rparen'>)</span>
622
674
  <span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_cell'>cell</span><span class='period'>.</span><span class='id identifier rubyid_symbols'>symbols</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
623
675
 
624
676
  <span class='id identifier rubyid_add_ins_symbols'>add_ins_symbols</span><span class='lparen'>(</span><span class='label'>columns:</span> <span class='id identifier rubyid_columns'>columns</span><span class='comma'>,</span> <span class='label'>cell:</span> <span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
625
677
  <span class='kw'>end</span></pre>
626
- </td>
627
- </tr>
628
- </table>
629
- </div>
630
-
631
- <div class="method_details ">
632
- <h3 class="signature " id="ins_dictionary-class_method">
633
-
634
- .<strong>ins_dictionary</strong>(columns:, row:) &#x21d2; <tt>void</tt>
635
-
636
-
637
-
638
-
639
-
640
- </h3><div class="docstring">
641
- <div class="discussion">
642
- <p class="note private">
643
- <strong>This method is part of a private API.</strong>
644
- You should avoid using this method if possible, as it may be removed or be changed in the future.
645
- </p>
646
- <p class="note returns_void">This method returns an undefined value.</p>
678
+ </td>
679
+ </tr>
680
+ </table>
681
+ </div>
647
682
 
648
- </div>
649
- </div>
650
- <div class="tags">
651
- <p class="tag_title">Parameters:</p>
652
- <ul class="param">
653
-
654
- <li>
655
-
656
- <span class='name'>columns</span>
657
-
658
-
659
- <span class='type'>(<tt><span class='object_link'><a href="" title="CSVDecision::Columns (class)">CSVDecision::Columns</a></span></tt>)</span>
660
-
661
-
662
-
663
- &mdash;
664
- <div class='inline'>
665
- <p>Table&#39;s columns dictionary.</p>
666
- </div>
667
-
668
- </li>
669
-
670
- <li>
671
-
672
- <span class='name'>row</span>
673
-
674
-
675
- <span class='type'>(<tt>Array</tt>)</span>
676
-
677
-
678
-
679
- &mdash;
680
- <div class='inline'>
681
- <p>Data row.</p>
682
- </div>
683
-
684
- </li>
685
-
686
- </ul>
687
-
688
-
689
- </div><table class="source_code">
690
- <tr>
691
- <td>
692
- <pre class="lines">
683
+ <div class="method_details ">
684
+ <h3 class="signature " id="ins_dictionary-class_method">
685
+
686
+ .<strong>ins_dictionary</strong>(columns:, row:) &#x21d2; <tt>void</tt>
687
+
688
+
689
+
690
+
691
+
692
+ </h3>
693
+ <div class="docstring">
694
+ <div class="discussion">
695
+ <p class="note private">
696
+ <strong>This method is part of a private API.</strong>
697
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
698
+ </p>
699
+ <p class="note returns_void">This method returns an undefined value.</p>
700
+
701
+ </div>
702
+ </div>
703
+ <div class="tags">
704
+ <p class="tag_title">Parameters:</p>
705
+ <ul class="param">
706
+
707
+ <li>
708
+
709
+ <span class='name'>columns</span>
710
+
711
+
712
+ <span class='type'>(<tt><span class='object_link'><a href=""
713
+ title="CSVDecision2::Columns (class)">CSVDecision2::Columns</a></span></tt>)</span>
714
+
715
+
716
+
717
+ &mdash;
718
+ <div class='inline'>
719
+ <p>Table&#39;s columns dictionary.</p>
720
+ </div>
721
+
722
+ </li>
723
+
724
+ <li>
725
+
726
+ <span class='name'>row</span>
727
+
728
+
729
+ <span class='type'>(<tt>Array</tt>)</span>
730
+
731
+
732
+
733
+ &mdash;
734
+ <div class='inline'>
735
+ <p>Data row.</p>
736
+ </div>
737
+
738
+ </li>
739
+
740
+ </ul>
741
+
742
+
743
+ </div>
744
+ <table class="source_code">
745
+ <tr>
746
+ <td>
747
+ <pre class="lines">
693
748
 
694
749
 
695
750
  23
696
751
  24
697
752
  25</pre>
698
- </td>
699
- <td>
700
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 23</span>
753
+ </td>
754
+ <td>
755
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 23</span>
701
756
 
702
757
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ins_dictionary'>ins_dictionary</span><span class='lparen'>(</span><span class='label'>columns:</span><span class='comma'>,</span> <span class='label'>row:</span><span class='rparen'>)</span>
703
758
  <span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_cell'>cell</span><span class='op'>|</span> <span class='id identifier rubyid_ins_cell_dictionary'>ins_cell_dictionary</span><span class='lparen'>(</span><span class='label'>columns:</span> <span class='id identifier rubyid_columns'>columns</span><span class='comma'>,</span> <span class='label'>cell:</span> <span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
704
759
  <span class='kw'>end</span></pre>
705
- </td>
706
- </tr>
707
- </table>
708
- </div>
709
-
710
- <div class="method_details ">
711
- <h3 class="signature " id="outs_dictionary-class_method">
712
-
713
- .<strong>outs_dictionary</strong>(columns:, row:) &#x21d2; <tt>void</tt>
714
-
715
-
716
-
717
-
718
-
719
- </h3><div class="docstring">
720
- <div class="discussion">
721
- <p class="note private">
722
- <strong>This method is part of a private API.</strong>
723
- You should avoid using this method if possible, as it may be removed or be changed in the future.
724
- </p>
725
- <p class="note returns_void">This method returns an undefined value.</p>
760
+ </td>
761
+ </tr>
762
+ </table>
763
+ </div>
764
+
765
+ <div class="method_details ">
766
+ <h3 class="signature " id="outs_dictionary-class_method">
767
+
768
+ .<strong>outs_dictionary</strong>(columns:, row:) &#x21d2; <tt>void</tt>
769
+
770
+
771
+
772
+
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
+ <p class="note returns_void">This method returns an undefined value.</p>
782
+
783
+ </div>
784
+ </div>
785
+ <div class="tags">
786
+ <p class="tag_title">Parameters:</p>
787
+ <ul class="param">
788
+
789
+ <li>
790
+
791
+ <span class='name'>columns</span>
792
+
793
+
794
+ <span class='type'>(<tt><span class='object_link'><a href=""
795
+ title="CSVDecision2::Columns (class)">CSVDecision2::Columns</a></span></tt>)</span>
726
796
 
727
- </div>
728
- </div>
729
- <div class="tags">
730
- <p class="tag_title">Parameters:</p>
731
- <ul class="param">
732
-
733
- <li>
734
-
735
- <span class='name'>columns</span>
736
-
737
-
738
- <span class='type'>(<tt><span class='object_link'><a href="" title="CSVDecision::Columns (class)">CSVDecision::Columns</a></span></tt>)</span>
739
-
740
-
741
-
742
- &mdash;
743
- <div class='inline'>
744
- <p>Table&#39;s columns dictionary.</p>
745
- </div>
746
-
747
- </li>
748
-
749
- <li>
750
-
751
- <span class='name'>row</span>
752
-
753
-
754
- <span class='type'>(<tt>Array</tt>)</span>
755
-
756
-
757
-
758
- &mdash;
759
- <div class='inline'>
760
- <p>Data row.</p>
761
- </div>
762
-
763
- </li>
764
-
765
- </ul>
766
-
767
-
768
- </div><table class="source_code">
769
- <tr>
770
- <td>
771
- <pre class="lines">
797
+
798
+
799
+ &mdash;
800
+ <div class='inline'>
801
+ <p>Table&#39;s columns dictionary.</p>
802
+ </div>
803
+
804
+ </li>
805
+
806
+ <li>
807
+
808
+ <span class='name'>row</span>
809
+
810
+
811
+ <span class='type'>(<tt>Array</tt>)</span>
812
+
813
+
814
+
815
+ &mdash;
816
+ <div class='inline'>
817
+ <p>Data row.</p>
818
+ </div>
819
+
820
+ </li>
821
+
822
+ </ul>
823
+
824
+
825
+ </div>
826
+ <table class="source_code">
827
+ <tr>
828
+ <td>
829
+ <pre class="lines">
772
830
 
773
831
 
774
832
  14
@@ -776,484 +834,509 @@
776
834
  16
777
835
  17
778
836
  18</pre>
779
- </td>
780
- <td>
781
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 14</span>
837
+ </td>
838
+ <td>
839
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 14</span>
782
840
 
783
841
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_outs_dictionary'>outs_dictionary</span><span class='lparen'>(</span><span class='label'>columns:</span><span class='comma'>,</span> <span class='label'>row:</span><span class='rparen'>)</span>
784
842
  <span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_each_with_index'>each_with_index</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cell'>cell</span><span class='comma'>,</span> <span class='id identifier rubyid_index'>index</span><span class='op'>|</span>
785
843
  <span class='id identifier rubyid_outs_check_cell'>outs_check_cell</span><span class='lparen'>(</span><span class='label'>columns:</span> <span class='id identifier rubyid_columns'>columns</span><span class='comma'>,</span> <span class='label'>cell:</span> <span class='id identifier rubyid_cell'>cell</span><span class='comma'>,</span> <span class='label'>index:</span> <span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
786
844
  <span class='kw'>end</span>
787
845
  <span class='kw'>end</span></pre>
788
- </td>
789
- </tr>
790
- </table>
791
- </div>
792
-
793
- </div>
846
+ </td>
847
+ </tr>
848
+ </table>
849
+ </div>
794
850
 
795
- <div id="instance_method_details" class="method_details_list">
796
- <h2>Instance Method Details</h2>
851
+ </div>
797
852
 
798
-
799
- <div class="method_details first">
800
- <h3 class="signature first" id="defaults-instance_method">
801
-
802
- #<strong>defaults</strong> &#x21d2; <tt>Object</tt>
803
-
853
+ <div id="instance_method_details" class="method_details_list">
854
+ <h2>Instance Method Details</h2>
804
855
 
805
-
806
856
 
807
-
808
- </h3><div class="docstring">
809
- <div class="discussion">
810
- <p class="note private">
811
- <strong>This method is part of a private API.</strong>
812
- You should avoid using this method if possible, as it may be removed or be changed in the future.
813
- </p>
857
+ <div class="method_details first">
858
+ <h3 class="signature first" id="defaults-instance_method">
814
859
 
815
- <p>Input columns with defaults specified</p>
860
+ #<strong>defaults</strong> &#x21d2; <tt>Object</tt>
816
861
 
817
862
 
818
- </div>
819
- </div>
820
- <div class="tags">
821
-
822
863
 
823
- </div><table class="source_code">
824
- <tr>
825
- <td>
826
- <pre class="lines">
864
+
865
+
866
+ </h3>
867
+ <div class="docstring">
868
+ <div class="discussion">
869
+ <p class="note private">
870
+ <strong>This method is part of a private API.</strong>
871
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
872
+ </p>
873
+
874
+ <p>Input columns with defaults specified</p>
875
+
876
+
877
+ </div>
878
+ </div>
879
+ <div class="tags">
880
+
881
+
882
+ </div>
883
+ <table class="source_code">
884
+ <tr>
885
+ <td>
886
+ <pre class="lines">
827
887
 
828
888
 
829
889
  133
830
890
  134
831
891
  135</pre>
832
- </td>
833
- <td>
834
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 133</span>
892
+ </td>
893
+ <td>
894
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 133</span>
835
895
 
836
896
  <span class='kw'>def</span> <span class='id identifier rubyid_defaults'>defaults</span>
837
897
  <span class='ivar'>@dictionary</span><span class='op'>&amp;.</span><span class='id identifier rubyid_defaults'>defaults</span>
838
898
  <span class='kw'>end</span></pre>
839
- </td>
840
- </tr>
841
- </table>
842
- </div>
843
-
844
- <div class="method_details ">
845
- <h3 class="signature " id="defaults=-instance_method">
846
-
847
- #<strong>defaults=</strong>(value) &#x21d2; <tt>Object</tt>
848
-
849
-
850
-
851
-
852
-
853
- </h3><div class="docstring">
854
- <div class="discussion">
855
- <p class="note private">
856
- <strong>This method is part of a private API.</strong>
857
- You should avoid using this method if possible, as it may be removed or be changed in the future.
858
- </p>
859
-
860
- <p>Set defaults for columns with defaults specified</p>
899
+ </td>
900
+ </tr>
901
+ </table>
902
+ </div>
861
903
 
904
+ <div class="method_details ">
905
+ <h3 class="signature " id="defaults=-instance_method">
862
906
 
863
- </div>
864
- </div>
865
- <div class="tags">
866
-
907
+ #<strong>defaults=</strong>(value) &#x21d2; <tt>Object</tt>
908
+
909
+
910
+
911
+
912
+
913
+ </h3>
914
+ <div class="docstring">
915
+ <div class="discussion">
916
+ <p class="note private">
917
+ <strong>This method is part of a private API.</strong>
918
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
919
+ </p>
867
920
 
868
- </div><table class="source_code">
869
- <tr>
870
- <td>
871
- <pre class="lines">
921
+ <p>Set defaults for columns with defaults specified</p>
922
+
923
+
924
+ </div>
925
+ </div>
926
+ <div class="tags">
927
+
928
+
929
+ </div>
930
+ <table class="source_code">
931
+ <tr>
932
+ <td>
933
+ <pre class="lines">
872
934
 
873
935
 
874
936
  138
875
937
  139
876
938
  140</pre>
877
- </td>
878
- <td>
879
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 138</span>
939
+ </td>
940
+ <td>
941
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 138</span>
880
942
 
881
943
  <span class='kw'>def</span> <span class='id identifier rubyid_defaults='>defaults=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
882
944
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_defaults'>defaults</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
883
945
  <span class='kw'>end</span></pre>
884
- </td>
885
- </tr>
886
- </table>
887
- </div>
888
-
889
- <div class="method_details ">
890
- <h3 class="signature " id="dictionary-instance_method">
891
-
892
- #<strong>dictionary</strong> &#x21d2; <tt>Hash{Symbol=&gt;[false, Integer]}</tt>
893
-
894
-
895
-
896
-
897
-
898
- </h3><div class="docstring">
899
- <div class="discussion">
900
- <p class="note private">
901
- <strong>This method is part of a private API.</strong>
902
- You should avoid using this method if possible, as it may be removed or be changed in the future.
903
- </p>
904
-
905
- <p>Returns Dictionary of all input and output column names.</p>
946
+ </td>
947
+ </tr>
948
+ </table>
949
+ </div>
906
950
 
951
+ <div class="method_details ">
952
+ <h3 class="signature " id="dictionary-instance_method">
907
953
 
908
- </div>
909
- </div>
910
- <div class="tags">
911
-
912
- <p class="tag_title">Returns:</p>
913
- <ul class="return">
914
-
915
- <li>
916
-
917
-
918
- <span class='type'>(<tt>Hash{Symbol=&gt;[false, Integer]}</tt>)</span>
919
-
920
-
921
-
922
- &mdash;
923
- <div class='inline'>
924
- <p>Dictionary of all input and output column names.</p>
925
- </div>
926
-
927
- </li>
928
-
929
- </ul>
930
-
931
- </div><table class="source_code">
932
- <tr>
933
- <td>
934
- <pre class="lines">
954
+ #<strong>dictionary</strong> &#x21d2; <tt>Hash{Symbol=&gt;[false, Integer]}</tt>
955
+
956
+
957
+
958
+
959
+
960
+ </h3>
961
+ <div class="docstring">
962
+ <div class="discussion">
963
+ <p class="note private">
964
+ <strong>This method is part of a private API.</strong>
965
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
966
+ </p>
967
+
968
+ <p>Returns Dictionary of all input and output column names.</p>
969
+
970
+
971
+ </div>
972
+ </div>
973
+ <div class="tags">
974
+
975
+ <p class="tag_title">Returns:</p>
976
+ <ul class="return">
977
+
978
+ <li>
979
+
980
+
981
+ <span class='type'>(<tt>Hash{Symbol=&gt;[false, Integer]}</tt>)</span>
982
+
983
+
984
+
985
+ &mdash;
986
+ <div class='inline'>
987
+ <p>Dictionary of all input and output column names.</p>
988
+ </div>
989
+
990
+ </li>
991
+
992
+ </ul>
993
+
994
+ </div>
995
+ <table class="source_code">
996
+ <tr>
997
+ <td>
998
+ <pre class="lines">
935
999
 
936
1000
 
937
1001
  144
938
1002
  145
939
1003
  146</pre>
940
- </td>
941
- <td>
942
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 144</span>
1004
+ </td>
1005
+ <td>
1006
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 144</span>
943
1007
 
944
1008
  <span class='kw'>def</span> <span class='id identifier rubyid_dictionary'>dictionary</span>
945
1009
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_columns'>columns</span>
946
1010
  <span class='kw'>end</span></pre>
947
- </td>
948
- </tr>
949
- </table>
950
- </div>
951
-
952
- <div class="method_details ">
953
- <h3 class="signature " id="ifs-instance_method">
954
-
955
- #<strong>ifs</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>
956
-
957
-
958
-
959
-
960
-
961
- </h3><div class="docstring">
962
- <div class="discussion">
963
- <p class="note private">
964
- <strong>This method is part of a private API.</strong>
965
- You should avoid using this method if possible, as it may be removed or be changed in the future.
966
- </p>
967
-
968
- <p>if: columns hash keyed by column index.</p>
1011
+ </td>
1012
+ </tr>
1013
+ </table>
1014
+ </div>
969
1015
 
1016
+ <div class="method_details ">
1017
+ <h3 class="signature " id="ifs-instance_method">
970
1018
 
971
- </div>
972
- </div>
973
- <div class="tags">
974
-
975
- <p class="tag_title">Returns:</p>
976
- <ul class="return">
977
-
978
- <li>
979
-
980
-
981
- <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
982
-
983
-
984
-
985
- </li>
986
-
987
- </ul>
988
-
989
- </div><table class="source_code">
990
- <tr>
991
- <td>
992
- <pre class="lines">
1019
+ #<strong>ifs</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html"
1020
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+ </h3>
1027
+ <div class="docstring">
1028
+ <div class="discussion">
1029
+ <p class="note private">
1030
+ <strong>This method is part of a private API.</strong>
1031
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
1032
+ </p>
1033
+
1034
+ <p>if: columns hash keyed by column index.</p>
1035
+
1036
+
1037
+ </div>
1038
+ </div>
1039
+ <div class="tags">
1040
+
1041
+ <p class="tag_title">Returns:</p>
1042
+ <ul class="return">
1043
+
1044
+ <li>
1045
+
1046
+
1047
+ <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html"
1048
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1049
+
1050
+
1051
+
1052
+ </li>
1053
+
1054
+ </ul>
1055
+
1056
+ </div>
1057
+ <table class="source_code">
1058
+ <tr>
1059
+ <td>
1060
+ <pre class="lines">
993
1061
 
994
1062
 
995
1063
  162
996
1064
  163
997
1065
  164</pre>
998
- </td>
999
- <td>
1000
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 162</span>
1066
+ </td>
1067
+ <td>
1068
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 162</span>
1001
1069
 
1002
1070
  <span class='kw'>def</span> <span class='id identifier rubyid_ifs'>ifs</span>
1003
1071
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_ifs'>ifs</span>
1004
1072
  <span class='kw'>end</span></pre>
1005
- </td>
1006
- </tr>
1007
- </table>
1008
- </div>
1009
-
1010
- <div class="method_details ">
1011
- <h3 class="signature " id="input_keys-instance_method">
1012
-
1013
- #<strong>input_keys</strong> &#x21d2; <tt>Array&lt;Symbol&gt;</tt>
1014
-
1015
-
1016
-
1017
-
1018
-
1019
- </h3><div class="docstring">
1020
- <div class="discussion">
1021
- <p class="note private">
1022
- <strong>This method is part of a private API.</strong>
1023
- You should avoid using this method if possible, as it may be removed or be changed in the future.
1024
- </p>
1025
-
1026
- <p>Returns All input column symbols.</p>
1073
+ </td>
1074
+ </tr>
1075
+ </table>
1076
+ </div>
1027
1077
 
1078
+ <div class="method_details ">
1079
+ <h3 class="signature " id="input_keys-instance_method">
1028
1080
 
1029
- </div>
1030
- </div>
1031
- <div class="tags">
1032
-
1033
- <p class="tag_title">Returns:</p>
1034
- <ul class="return">
1035
-
1036
- <li>
1037
-
1038
-
1039
- <span class='type'>(<tt>Array&lt;Symbol&gt;</tt>)</span>
1040
-
1041
-
1042
-
1043
- &mdash;
1044
- <div class='inline'>
1045
- <p>All input column symbols.</p>
1046
- </div>
1047
-
1048
- </li>
1049
-
1050
- </ul>
1051
-
1052
- </div><table class="source_code">
1053
- <tr>
1054
- <td>
1055
- <pre class="lines">
1081
+ #<strong>input_keys</strong> &#x21d2; <tt>Array&lt;Symbol&gt;</tt>
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+ </h3>
1088
+ <div class="docstring">
1089
+ <div class="discussion">
1090
+ <p class="note private">
1091
+ <strong>This method is part of a private API.</strong>
1092
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
1093
+ </p>
1094
+
1095
+ <p>Returns All input column symbols.</p>
1096
+
1097
+
1098
+ </div>
1099
+ </div>
1100
+ <div class="tags">
1101
+
1102
+ <p class="tag_title">Returns:</p>
1103
+ <ul class="return">
1104
+
1105
+ <li>
1106
+
1107
+
1108
+ <span class='type'>(<tt>Array&lt;Symbol&gt;</tt>)</span>
1109
+
1110
+
1111
+
1112
+ &mdash;
1113
+ <div class='inline'>
1114
+ <p>All input column symbols.</p>
1115
+ </div>
1116
+
1117
+ </li>
1118
+
1119
+ </ul>
1120
+
1121
+ </div>
1122
+ <table class="source_code">
1123
+ <tr>
1124
+ <td>
1125
+ <pre class="lines">
1056
1126
 
1057
1127
 
1058
1128
  173
1059
1129
  174
1060
1130
  175</pre>
1061
- </td>
1062
- <td>
1063
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 173</span>
1131
+ </td>
1132
+ <td>
1133
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 173</span>
1064
1134
 
1065
1135
  <span class='kw'>def</span> <span class='id identifier rubyid_input_keys'>input_keys</span>
1066
1136
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_columns'>columns</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid__k'>_k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span> <span class='op'>==</span> <span class='symbol'>:in</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
1067
1137
  <span class='kw'>end</span></pre>
1068
- </td>
1069
- </tr>
1070
- </table>
1071
- </div>
1072
-
1073
- <div class="method_details ">
1074
- <h3 class="signature " id="ins-instance_method">
1075
-
1076
- #<strong>ins</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>
1077
-
1078
-
1079
-
1080
-
1081
-
1082
- </h3><div class="docstring">
1083
- <div class="discussion">
1084
- <p class="note private">
1085
- <strong>This method is part of a private API.</strong>
1086
- You should avoid using this method if possible, as it may be removed or be changed in the future.
1087
- </p>
1088
-
1089
- <p>Input columns hash keyed by column index.</p>
1138
+ </td>
1139
+ </tr>
1140
+ </table>
1141
+ </div>
1142
+
1143
+ <div class="method_details ">
1144
+ <h3 class="signature " id="ins-instance_method">
1145
+
1146
+ #<strong>ins</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html"
1147
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+ </h3>
1154
+ <div class="docstring">
1155
+ <div class="discussion">
1156
+ <p class="note private">
1157
+ <strong>This method is part of a private API.</strong>
1158
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
1159
+ </p>
1160
+
1161
+ <p>Input columns hash keyed by column index.</p>
1162
+
1163
+
1164
+ </div>
1165
+ </div>
1166
+ <div class="tags">
1167
+
1168
+ <p class="tag_title">Returns:</p>
1169
+ <ul class="return">
1170
+
1171
+ <li>
1172
+
1173
+
1174
+ <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html"
1175
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1090
1176
 
1091
1177
 
1092
- </div>
1093
- </div>
1094
- <div class="tags">
1095
-
1096
- <p class="tag_title">Returns:</p>
1097
- <ul class="return">
1098
-
1099
- <li>
1100
-
1101
-
1102
- <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1103
-
1104
-
1105
-
1106
- </li>
1107
-
1108
- </ul>
1109
-
1110
- </div><table class="source_code">
1111
- <tr>
1112
- <td>
1113
- <pre class="lines">
1178
+
1179
+ </li>
1180
+
1181
+ </ul>
1182
+
1183
+ </div>
1184
+ <table class="source_code">
1185
+ <tr>
1186
+ <td>
1187
+ <pre class="lines">
1114
1188
 
1115
1189
 
1116
1190
  150
1117
1191
  151
1118
1192
  152</pre>
1119
- </td>
1120
- <td>
1121
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 150</span>
1193
+ </td>
1194
+ <td>
1195
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 150</span>
1122
1196
 
1123
1197
  <span class='kw'>def</span> <span class='id identifier rubyid_ins'>ins</span>
1124
1198
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_ins'>ins</span>
1125
1199
  <span class='kw'>end</span></pre>
1126
- </td>
1127
- </tr>
1128
- </table>
1129
- </div>
1130
-
1131
- <div class="method_details ">
1132
- <h3 class="signature " id="outs-instance_method">
1133
-
1134
- #<strong>outs</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>
1135
-
1136
-
1137
-
1138
-
1139
-
1140
- </h3><div class="docstring">
1141
- <div class="discussion">
1142
- <p class="note private">
1143
- <strong>This method is part of a private API.</strong>
1144
- You should avoid using this method if possible, as it may be removed or be changed in the future.
1145
- </p>
1146
-
1147
- <p>Output columns hash keyed by column index.</p>
1200
+ </td>
1201
+ </tr>
1202
+ </table>
1203
+ </div>
1148
1204
 
1205
+ <div class="method_details ">
1206
+ <h3 class="signature " id="outs-instance_method">
1207
+
1208
+ #<strong>outs</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html"
1209
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ </h3>
1216
+ <div class="docstring">
1217
+ <div class="discussion">
1218
+ <p class="note private">
1219
+ <strong>This method is part of a private API.</strong>
1220
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
1221
+ </p>
1222
+
1223
+ <p>Output columns hash keyed by column index.</p>
1224
+
1225
+
1226
+ </div>
1227
+ </div>
1228
+ <div class="tags">
1229
+
1230
+ <p class="tag_title">Returns:</p>
1231
+ <ul class="return">
1232
+
1233
+ <li>
1149
1234
 
1150
- </div>
1151
- </div>
1152
- <div class="tags">
1153
-
1154
- <p class="tag_title">Returns:</p>
1155
- <ul class="return">
1156
-
1157
- <li>
1158
-
1159
-
1160
- <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1161
-
1162
-
1163
-
1164
- </li>
1165
-
1166
- </ul>
1167
-
1168
- </div><table class="source_code">
1169
- <tr>
1170
- <td>
1171
- <pre class="lines">
1235
+
1236
+ <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html"
1237
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1238
+
1239
+
1240
+
1241
+ </li>
1242
+
1243
+ </ul>
1244
+
1245
+ </div>
1246
+ <table class="source_code">
1247
+ <tr>
1248
+ <td>
1249
+ <pre class="lines">
1172
1250
 
1173
1251
 
1174
1252
  156
1175
1253
  157
1176
1254
  158</pre>
1177
- </td>
1178
- <td>
1179
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 156</span>
1255
+ </td>
1256
+ <td>
1257
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 156</span>
1180
1258
 
1181
1259
  <span class='kw'>def</span> <span class='id identifier rubyid_outs'>outs</span>
1182
1260
  <span class='ivar'>@dictionary</span><span class='op'>&amp;.</span><span class='id identifier rubyid_outs'>outs</span>
1183
1261
  <span class='kw'>end</span></pre>
1184
- </td>
1185
- </tr>
1186
- </table>
1187
- </div>
1188
-
1189
- <div class="method_details ">
1190
- <h3 class="signature " id="paths-instance_method">
1191
-
1192
- #<strong>paths</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>
1193
-
1194
-
1195
-
1196
-
1197
-
1198
- </h3><div class="docstring">
1199
- <div class="discussion">
1200
- <p class="note private">
1201
- <strong>This method is part of a private API.</strong>
1202
- You should avoid using this method if possible, as it may be removed or be changed in the future.
1203
- </p>
1204
-
1205
- <p>path: columns hash keyed by column index.</p>
1262
+ </td>
1263
+ </tr>
1264
+ </table>
1265
+ </div>
1206
1266
 
1267
+ <div class="method_details ">
1268
+ <h3 class="signature " id="paths-instance_method">
1207
1269
 
1208
- </div>
1209
- </div>
1210
- <div class="tags">
1211
-
1212
- <p class="tag_title">Returns:</p>
1213
- <ul class="return">
1214
-
1215
- <li>
1216
-
1217
-
1218
- <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html" title="CSVDecision::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1219
-
1220
-
1221
-
1222
- </li>
1223
-
1224
- </ul>
1225
-
1226
- </div><table class="source_code">
1227
- <tr>
1228
- <td>
1229
- <pre class="lines">
1270
+ #<strong>paths</strong> &#x21d2; <tt>Hash{<span class='object_link'><a href="Index.html"
1271
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+ </h3>
1278
+ <div class="docstring">
1279
+ <div class="discussion">
1280
+ <p class="note private">
1281
+ <strong>This method is part of a private API.</strong>
1282
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
1283
+ </p>
1284
+
1285
+ <p>path: columns hash keyed by column index.</p>
1286
+
1287
+
1288
+ </div>
1289
+ </div>
1290
+ <div class="tags">
1291
+
1292
+ <p class="tag_title">Returns:</p>
1293
+ <ul class="return">
1294
+
1295
+ <li>
1296
+
1297
+
1298
+ <span class='type'>(<tt>Hash{<span class='object_link'><a href="Index.html"
1299
+ title="CSVDecision2::Index (class)">Index</a></span>=&gt;Entry}</tt>)</span>
1300
+
1301
+
1302
+
1303
+ </li>
1304
+
1305
+ </ul>
1306
+
1307
+ </div>
1308
+ <table class="source_code">
1309
+ <tr>
1310
+ <td>
1311
+ <pre class="lines">
1230
1312
 
1231
1313
 
1232
1314
  168
1233
1315
  169
1234
1316
  170</pre>
1235
- </td>
1236
- <td>
1237
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 168</span>
1317
+ </td>
1318
+ <td>
1319
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 168</span>
1238
1320
 
1239
1321
  <span class='kw'>def</span> <span class='id identifier rubyid_paths'>paths</span>
1240
1322
  <span class='ivar'>@dictionary</span><span class='period'>.</span><span class='id identifier rubyid_paths'>paths</span>
1241
1323
  <span class='kw'>end</span></pre>
1242
- </td>
1243
- </tr>
1244
- </table>
1245
- </div>
1246
-
1247
- </div>
1324
+ </td>
1325
+ </tr>
1326
+ </table>
1327
+ </div>
1248
1328
 
1249
- </div>
1329
+ </div>
1250
1330
 
1251
- <div id="footer">
1252
- Generated on Sun Feb 11 10:26:08 2018 by
1253
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1254
- 0.9.12 (ruby-2.4.0).
1255
- </div>
1331
+ </div>
1256
1332
 
1333
+ <div id="footer">
1334
+ Generated on Sun Feb 11 10:26:08 2018 by
1335
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1336
+ 0.9.12 (ruby-2.4.0).
1257
1337
  </div>
1258
- </body>
1259
- </html>
1338
+
1339
+ </div>
1340
+ </body>
1341
+
1342
+ </html>