csv_decision2 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +1 -1
  3. data/README.md +16 -16
  4. data/benchmarks/rufus_decision.rb +5 -7
  5. data/csv_decision2.gemspec +2 -2
  6. data/doc/CSVDecision/CellValidationError.html +117 -110
  7. data/doc/CSVDecision/Columns/Default.html +537 -508
  8. data/doc/CSVDecision/Columns/Dictionary.html +729 -686
  9. data/doc/CSVDecision/Columns/Entry.html +457 -433
  10. data/doc/CSVDecision/Columns.html +1134 -1051
  11. data/doc/CSVDecision/Constant.html +205 -191
  12. data/doc/CSVDecision/Data.html +423 -398
  13. data/doc/CSVDecision/Decide.html +236 -225
  14. data/doc/CSVDecision/Decision.html +872 -825
  15. data/doc/CSVDecision/Defaults.html +243 -230
  16. data/doc/CSVDecision/Dictionary/Entry.html +1026 -964
  17. data/doc/CSVDecision/Dictionary.html +377 -355
  18. data/doc/CSVDecision/Error.html +116 -105
  19. data/doc/CSVDecision/FileError.html +117 -110
  20. data/doc/CSVDecision/Function.html +181 -168
  21. data/doc/CSVDecision/Guard.html +200 -185
  22. data/doc/CSVDecision/Header.html +557 -523
  23. data/doc/CSVDecision/Index.html +652 -617
  24. data/doc/CSVDecision/Input.html +329 -312
  25. data/doc/CSVDecision/Load.html +232 -220
  26. data/doc/CSVDecision/Matchers/Constant.html +432 -399
  27. data/doc/CSVDecision/Matchers/Function.html +451 -415
  28. data/doc/CSVDecision/Matchers/Guard.html +459 -424
  29. data/doc/CSVDecision/Matchers/Matcher.html +470 -426
  30. data/doc/CSVDecision/Matchers/Numeric.html +375 -346
  31. data/doc/CSVDecision/Matchers/Pattern.html +429 -396
  32. data/doc/CSVDecision/Matchers/Proc.html +617 -575
  33. data/doc/CSVDecision/Matchers/Range.html +331 -302
  34. data/doc/CSVDecision/Matchers/Symbol.html +386 -353
  35. data/doc/CSVDecision/Matchers.html +1509 -1393
  36. data/doc/CSVDecision/Numeric.html +201 -188
  37. data/doc/CSVDecision/Options.html +376 -357
  38. data/doc/CSVDecision/Parse.html +217 -204
  39. data/doc/CSVDecision/Paths.html +664 -629
  40. data/doc/CSVDecision/Result.html +1076 -1005
  41. data/doc/CSVDecision/Scan/InputHashes.html +305 -288
  42. data/doc/CSVDecision/Scan.html +262 -249
  43. data/doc/CSVDecision/ScanRow.html +749 -705
  44. data/doc/CSVDecision/Symbol.html +204 -191
  45. data/doc/CSVDecision/Table.html +1391 -1305
  46. data/doc/CSVDecision/TableValidationError.html +117 -110
  47. data/doc/CSVDecision/Validate.html +353 -337
  48. data/doc/CSVDecision.html +623 -552
  49. data/doc/_index.html +488 -448
  50. data/doc/class_list.html +250 -45
  51. data/doc/file.README.html +304 -278
  52. data/doc/index.html +304 -278
  53. data/doc/method_list.html +1159 -1017
  54. data/doc/top-level-namespace.html +79 -75
  55. data/lib/{csv_decision → csv_decision2}/columns.rb +7 -7
  56. data/lib/{csv_decision → csv_decision2}/data.rb +1 -1
  57. data/lib/{csv_decision → csv_decision2}/decision.rb +5 -5
  58. data/lib/{csv_decision → csv_decision2}/defaults.rb +2 -2
  59. data/lib/{csv_decision → csv_decision2}/dictionary.rb +2 -2
  60. data/lib/{csv_decision → csv_decision2}/header.rb +5 -5
  61. data/lib/{csv_decision → csv_decision2}/index.rb +5 -5
  62. data/lib/{csv_decision → csv_decision2}/input.rb +3 -3
  63. data/lib/{csv_decision → csv_decision2}/load.rb +6 -6
  64. data/lib/{csv_decision → csv_decision2}/matchers/constant.rb +2 -2
  65. data/lib/{csv_decision → csv_decision2}/matchers/function.rb +2 -2
  66. data/lib/{csv_decision → csv_decision2}/matchers/guard.rb +2 -2
  67. data/lib/{csv_decision → csv_decision2}/matchers/numeric.rb +2 -2
  68. data/lib/{csv_decision → csv_decision2}/matchers/pattern.rb +2 -2
  69. data/lib/{csv_decision → csv_decision2}/matchers/range.rb +2 -2
  70. data/lib/{csv_decision → csv_decision2}/matchers/symbol.rb +2 -2
  71. data/lib/{csv_decision → csv_decision2}/matchers.rb +5 -5
  72. data/lib/{csv_decision → csv_decision2}/options.rb +3 -3
  73. data/lib/{csv_decision → csv_decision2}/parse.rb +14 -14
  74. data/lib/{csv_decision → csv_decision2}/paths.rb +5 -5
  75. data/lib/{csv_decision → csv_decision2}/result.rb +2 -2
  76. data/lib/{csv_decision → csv_decision2}/scan.rb +3 -3
  77. data/lib/{csv_decision → csv_decision2}/scan_row.rb +2 -2
  78. data/lib/{csv_decision → csv_decision2}/table.rb +8 -8
  79. data/lib/{csv_decision → csv_decision2}/validate.rb +2 -2
  80. data/lib/csv_decision2.rb +45 -0
  81. data/spec/{csv_decision → csv_decision2}/columns_spec.rb +44 -44
  82. data/spec/{csv_decision → csv_decision2}/constant_spec.rb +4 -4
  83. data/spec/{csv_decision → csv_decision2}/data_spec.rb +11 -11
  84. data/spec/{csv_decision → csv_decision2}/decision_spec.rb +6 -6
  85. data/spec/{csv_decision → csv_decision2}/examples_spec.rb +14 -14
  86. data/spec/{csv_decision → csv_decision2}/index_spec.rb +8 -8
  87. data/spec/{csv_decision → csv_decision2}/input_spec.rb +9 -9
  88. data/spec/{csv_decision → csv_decision2}/load_spec.rb +8 -8
  89. data/spec/{csv_decision → csv_decision2}/matchers/function_spec.rb +7 -7
  90. data/spec/{csv_decision → csv_decision2}/matchers/guard_spec.rb +14 -14
  91. data/spec/{csv_decision → csv_decision2}/matchers/numeric_spec.rb +5 -5
  92. data/spec/{csv_decision → csv_decision2}/matchers/pattern_spec.rb +6 -6
  93. data/spec/{csv_decision → csv_decision2}/matchers/range_spec.rb +5 -5
  94. data/spec/{csv_decision → csv_decision2}/matchers/symbol_spec.rb +6 -6
  95. data/spec/{csv_decision → csv_decision2}/options_spec.rb +18 -18
  96. data/spec/csv_decision2/parse_spec.rb +44 -0
  97. data/spec/{csv_decision → csv_decision2}/table_spec.rb +17 -17
  98. data/spec/csv_decision2_spec.rb +7 -0
  99. metadata +64 -64
  100. data/lib/csv_decision.rb +0 -45
  101. data/spec/csv_decision/parse_spec.rb +0 -44
  102. data/spec/csv_decision_spec.rb +0 -7
@@ -1,23 +1,24 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: CSVDecision::Columns::Entry
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::Entry
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::Entry";
19
- relpath = '../../';
20
- </script>
18
+ <script type="text/javascript" charset="utf-8">
19
+ pathId = "CSVDecision2::Columns::Entry";
20
+ relpath = '../../';
21
+ </script>
21
22
 
22
23
 
23
24
  <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
@@ -25,484 +26,507 @@
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 (E)</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">Entry</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 (E)</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">Entry</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::Entry
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">Struct</span>
78
+
79
+ <ul class="fullTree">
80
+ <li>Object</li>
81
+
82
+ <li class="next">Struct</li>
83
+
84
+ <li class="next">CSVDecision2::Columns::Entry</li>
85
+
86
+ </ul>
87
+ <a href="#" class="inheritanceTree">show all</a>
88
+
89
+ </dd>
90
+ </dl>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <dl>
103
+ <dt>Defined in:</dt>
104
+ <dd>lib/csv_decision2/columns.rb</dd>
105
+ </dl>
106
+
60
107
  </div>
61
108
 
62
- <div id="content"><h1>Class: CSVDecision::Columns::Entry
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">Struct</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Struct</li>
78
-
79
- <li class="next">CSVDecision::Columns::Entry</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/csv_decision/columns.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
- <p class="note private">
107
- <strong>This class is part of a private API.</strong>
108
- You should avoid using this class if possible, as it may be removed or be changed in the future.
109
- </p>
110
-
111
- <p>Value object to hold column dictionary entries.</p>
109
+ <h2>Overview</h2>
110
+ <div class="docstring">
111
+ <div class="discussion">
112
+ <p class="note private">
113
+ <strong>This class is part of a private API.</strong>
114
+ You should avoid using this class if possible, as it may be removed or be changed in the future.
115
+ </p>
112
116
 
117
+ <p>Value object to hold column dictionary entries.</p>
118
+
119
+
120
+ </div>
121
+ </div>
122
+ <div class="tags">
123
+
124
+
125
+ </div>
126
+
127
+
128
+
129
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
130
+ <ul class="summary">
113
131
 
114
- </div>
115
- </div>
116
- <div class="tags">
117
-
118
-
119
- </div>
120
-
121
-
122
-
123
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
124
- <ul class="summary">
125
-
126
- <li class="public ">
127
- <span class="summary_signature">
128
-
129
- <a href="#eval-instance_method" title="#eval (instance method)">#<strong>eval</strong> &#x21d2; Object </a>
130
-
131
-
132
-
133
- </span>
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
- <span class="summary_desc"><div class='inline'>
147
- <p>Returns the value of attribute eval.</p>
148
- </div></span>
149
-
150
- </li>
151
-
152
-
153
- <li class="public ">
154
- <span class="summary_signature">
155
-
156
- <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; Object </a>
157
-
158
-
159
-
160
- </span>
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
- <span class="summary_desc"><div class='inline'>
174
- <p>Returns the value of attribute name.</p>
175
- </div></span>
176
-
177
- </li>
178
-
179
-
180
- <li class="public ">
181
- <span class="summary_signature">
182
-
183
- <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; Object </a>
184
-
185
-
186
-
187
- </span>
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
- <span class="summary_desc"><div class='inline'>
201
- <p>Returns the value of attribute type.</p>
202
- </div></span>
203
-
204
- </li>
205
-
206
-
207
- </ul>
208
-
209
-
210
-
211
-
212
-
213
- <h2>
214
- Instance Method Summary
215
- <small><a href="#" class="summary_toggle">collapse</a></small>
216
- </h2>
217
-
218
- <ul class="summary">
219
-
220
132
  <li class="public ">
221
- <span class="summary_signature">
222
-
223
- <a href="#ins%3F-instance_method" title="#ins? (instance method)">#<strong>ins?</strong> &#x21d2; Boolean </a>
224
-
225
-
226
-
227
- </span>
228
-
229
-
230
-
231
-
232
-
233
-
234
- <span class="private note title">private</span>
235
-
236
-
237
- <span class="summary_desc"><div class='inline'></div></span>
238
-
239
- </li>
240
-
241
-
242
- </ul>
243
-
244
-
245
-
246
-
247
- <div id="instance_attr_details" class="attr_details">
248
- <h2>Instance Attribute Details</h2>
249
-
250
-
251
- <span id="eval=-instance_method"></span>
252
- <div class="method_details first">
253
- <h3 class="signature first" id="eval-instance_method">
254
-
255
- #<strong>eval</strong> &#x21d2; <tt>Object</tt>
256
-
257
-
258
-
259
-
260
-
261
- </h3><div class="docstring">
262
- <div class="discussion">
263
-
264
- <p>Returns the value of attribute eval</p>
133
+ <span class="summary_signature">
265
134
 
135
+ <a href="#eval-instance_method" title="#eval (instance method)">#<strong>eval</strong> &#x21d2; Object </a>
266
136
 
267
- </div>
268
- </div>
269
- <div class="tags">
270
-
271
- <p class="tag_title">Returns:</p>
272
- <ul class="return">
273
-
274
- <li>
275
-
276
-
277
- <span class='type'>(<tt>Object</tt>)</span>
278
-
279
-
280
-
281
- &mdash;
282
- <div class='inline'>
283
- <p>the current value of eval</p>
284
- </div>
285
-
286
- </li>
287
-
288
- </ul>
289
-
290
- </div><table class="source_code">
291
- <tr>
292
- <td>
293
- <pre class="lines">
137
+
138
+
139
+ </span>
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+ <span class="summary_desc">
153
+ <div class='inline'>
154
+ <p>Returns the value of attribute eval.</p>
155
+ </div>
156
+ </span>
157
+
158
+ </li>
159
+
160
+
161
+ <li class="public ">
162
+ <span class="summary_signature">
163
+
164
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; Object </a>
165
+
166
+
167
+
168
+ </span>
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+ <span class="summary_desc">
182
+ <div class='inline'>
183
+ <p>Returns the value of attribute name.</p>
184
+ </div>
185
+ </span>
186
+
187
+ </li>
188
+
189
+
190
+ <li class="public ">
191
+ <span class="summary_signature">
192
+
193
+ <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; Object </a>
194
+
195
+
196
+
197
+ </span>
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <span class="summary_desc">
211
+ <div class='inline'>
212
+ <p>Returns the value of attribute type.</p>
213
+ </div>
214
+ </span>
215
+
216
+ </li>
217
+
218
+
219
+ </ul>
220
+
221
+
222
+
223
+
224
+
225
+ <h2>
226
+ Instance Method Summary
227
+ <small><a href="#" class="summary_toggle">collapse</a></small>
228
+ </h2>
229
+
230
+ <ul class="summary">
231
+
232
+ <li class="public ">
233
+ <span class="summary_signature">
234
+
235
+ <a href="#ins%3F-instance_method" title="#ins? (instance method)">#<strong>ins?</strong> &#x21d2; Boolean
236
+ </a>
237
+
238
+
239
+
240
+ </span>
241
+
242
+
243
+
244
+
245
+
246
+
247
+ <span class="private note title">private</span>
248
+
249
+
250
+ <span class="summary_desc">
251
+ <div class='inline'></div>
252
+ </span>
253
+
254
+ </li>
255
+
256
+
257
+ </ul>
258
+
259
+
260
+
261
+
262
+ <div id="instance_attr_details" class="attr_details">
263
+ <h2>Instance Attribute Details</h2>
264
+
265
+
266
+ <span id="eval=-instance_method"></span>
267
+ <div class="method_details first">
268
+ <h3 class="signature first" id="eval-instance_method">
269
+
270
+ #<strong>eval</strong> &#x21d2; <tt>Object</tt>
271
+
272
+
273
+
274
+
275
+
276
+ </h3>
277
+ <div class="docstring">
278
+ <div class="discussion">
279
+
280
+ <p>Returns the value of attribute eval</p>
281
+
282
+
283
+ </div>
284
+ </div>
285
+ <div class="tags">
286
+
287
+ <p class="tag_title">Returns:</p>
288
+ <ul class="return">
289
+
290
+ <li>
291
+
292
+
293
+ <span class='type'>(<tt>Object</tt>)</span>
294
+
295
+
296
+
297
+ &mdash;
298
+ <div class='inline'>
299
+ <p>the current value of eval</p>
300
+ </div>
301
+
302
+ </li>
303
+
304
+ </ul>
305
+
306
+ </div>
307
+ <table class="source_code">
308
+ <tr>
309
+ <td>
310
+ <pre class="lines">
294
311
 
295
312
 
296
313
  12
297
314
  13
298
315
  14</pre>
299
- </td>
300
- <td>
301
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 12</span>
316
+ </td>
317
+ <td>
318
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 12</span>
302
319
 
303
320
  <span class='kw'>def</span> <span class='id identifier rubyid_eval'>eval</span>
304
321
  <span class='ivar'>@eval</span>
305
322
  <span class='kw'>end</span></pre>
306
- </td>
307
- </tr>
308
- </table>
309
- </div>
310
-
311
-
312
- <span id="name=-instance_method"></span>
313
- <div class="method_details ">
314
- <h3 class="signature " id="name-instance_method">
315
-
316
- #<strong>name</strong> &#x21d2; <tt>Object</tt>
317
-
318
-
319
-
320
-
321
-
322
- </h3><div class="docstring">
323
- <div class="discussion">
324
-
325
- <p>Returns the value of attribute name</p>
323
+ </td>
324
+ </tr>
325
+ </table>
326
+ </div>
326
327
 
327
328
 
328
- </div>
329
- </div>
330
- <div class="tags">
331
-
332
- <p class="tag_title">Returns:</p>
333
- <ul class="return">
334
-
335
- <li>
336
-
337
-
338
- <span class='type'>(<tt>Object</tt>)</span>
339
-
340
-
341
-
342
- &mdash;
343
- <div class='inline'>
344
- <p>the current value of name</p>
345
- </div>
346
-
347
- </li>
348
-
349
- </ul>
350
-
351
- </div><table class="source_code">
352
- <tr>
353
- <td>
354
- <pre class="lines">
329
+ <span id="name=-instance_method"></span>
330
+ <div class="method_details ">
331
+ <h3 class="signature " id="name-instance_method">
332
+
333
+ #<strong>name</strong> &#x21d2; <tt>Object</tt>
334
+
335
+
336
+
337
+
338
+
339
+ </h3>
340
+ <div class="docstring">
341
+ <div class="discussion">
342
+
343
+ <p>Returns the value of attribute name</p>
344
+
345
+
346
+ </div>
347
+ </div>
348
+ <div class="tags">
349
+
350
+ <p class="tag_title">Returns:</p>
351
+ <ul class="return">
352
+
353
+ <li>
354
+
355
+
356
+ <span class='type'>(<tt>Object</tt>)</span>
357
+
358
+
359
+
360
+ &mdash;
361
+ <div class='inline'>
362
+ <p>the current value of name</p>
363
+ </div>
364
+
365
+ </li>
366
+
367
+ </ul>
368
+
369
+ </div>
370
+ <table class="source_code">
371
+ <tr>
372
+ <td>
373
+ <pre class="lines">
355
374
 
356
375
 
357
376
  12
358
377
  13
359
378
  14</pre>
360
- </td>
361
- <td>
362
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 12</span>
379
+ </td>
380
+ <td>
381
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 12</span>
363
382
 
364
383
  <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
365
384
  <span class='ivar'>@name</span>
366
385
  <span class='kw'>end</span></pre>
367
- </td>
368
- </tr>
369
- </table>
370
- </div>
371
-
372
-
373
- <span id="type=-instance_method"></span>
374
- <div class="method_details ">
375
- <h3 class="signature " id="type-instance_method">
376
-
377
- #<strong>type</strong> &#x21d2; <tt>Object</tt>
378
-
379
-
380
-
381
-
382
-
383
- </h3><div class="docstring">
384
- <div class="discussion">
385
-
386
- <p>Returns the value of attribute type</p>
386
+ </td>
387
+ </tr>
388
+ </table>
389
+ </div>
387
390
 
388
391
 
389
- </div>
390
- </div>
391
- <div class="tags">
392
-
393
- <p class="tag_title">Returns:</p>
394
- <ul class="return">
395
-
396
- <li>
397
-
398
-
399
- <span class='type'>(<tt>Object</tt>)</span>
400
-
401
-
402
-
403
- &mdash;
404
- <div class='inline'>
405
- <p>the current value of type</p>
406
- </div>
407
-
408
- </li>
409
-
410
- </ul>
411
-
412
- </div><table class="source_code">
413
- <tr>
414
- <td>
415
- <pre class="lines">
392
+ <span id="type=-instance_method"></span>
393
+ <div class="method_details ">
394
+ <h3 class="signature " id="type-instance_method">
395
+
396
+ #<strong>type</strong> &#x21d2; <tt>Object</tt>
397
+
398
+
399
+
400
+
401
+
402
+ </h3>
403
+ <div class="docstring">
404
+ <div class="discussion">
405
+
406
+ <p>Returns the value of attribute type</p>
407
+
408
+
409
+ </div>
410
+ </div>
411
+ <div class="tags">
412
+
413
+ <p class="tag_title">Returns:</p>
414
+ <ul class="return">
415
+
416
+ <li>
417
+
418
+
419
+ <span class='type'>(<tt>Object</tt>)</span>
420
+
421
+
422
+
423
+ &mdash;
424
+ <div class='inline'>
425
+ <p>the current value of type</p>
426
+ </div>
427
+
428
+ </li>
429
+
430
+ </ul>
431
+
432
+ </div>
433
+ <table class="source_code">
434
+ <tr>
435
+ <td>
436
+ <pre class="lines">
416
437
 
417
438
 
418
439
  12
419
440
  13
420
441
  14</pre>
421
- </td>
422
- <td>
423
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 12</span>
442
+ </td>
443
+ <td>
444
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 12</span>
424
445
 
425
446
  <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
426
447
  <span class='ivar'>@type</span>
427
448
  <span class='kw'>end</span></pre>
428
- </td>
429
- </tr>
430
- </table>
431
- </div>
432
-
433
- </div>
449
+ </td>
450
+ </tr>
451
+ </table>
452
+ </div>
434
453
 
454
+ </div>
435
455
 
436
- <div id="instance_method_details" class="method_details_list">
437
- <h2>Instance Method Details</h2>
438
456
 
439
-
440
- <div class="method_details first">
441
- <h3 class="signature first" id="ins?-instance_method">
442
-
443
- #<strong>ins?</strong> &#x21d2; <tt>Boolean</tt>
444
-
457
+ <div id="instance_method_details" class="method_details_list">
458
+ <h2>Instance Method Details</h2>
445
459
 
446
-
447
460
 
448
-
449
- </h3><div class="docstring">
450
- <div class="discussion">
451
- <p class="note private">
452
- <strong>This method is part of a private API.</strong>
453
- You should avoid using this method if possible, as it may be removed or be changed in the future.
454
- </p>
461
+ <div class="method_details first">
462
+ <h3 class="signature first" id="ins?-instance_method">
455
463
 
464
+ #<strong>ins?</strong> &#x21d2; <tt>Boolean</tt>
456
465
 
457
- </div>
458
- </div>
459
- <div class="tags">
460
-
461
- <p class="tag_title">Returns:</p>
462
- <ul class="return">
463
-
464
- <li>
465
-
466
-
467
- <span class='type'>(<tt>Boolean</tt>)</span>
468
-
469
-
470
-
471
- </li>
472
-
473
- </ul>
474
-
475
- </div><table class="source_code">
476
- <tr>
477
- <td>
478
- <pre class="lines">
466
+
467
+
468
+
469
+
470
+ </h3>
471
+ <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
+
479
+ </div>
480
+ </div>
481
+ <div class="tags">
482
+
483
+ <p class="tag_title">Returns:</p>
484
+ <ul class="return">
485
+
486
+ <li>
487
+
488
+
489
+ <span class='type'>(<tt>Boolean</tt>)</span>
490
+
491
+
492
+
493
+ </li>
494
+
495
+ </ul>
496
+
497
+ </div>
498
+ <table class="source_code">
499
+ <tr>
500
+ <td>
501
+ <pre class="lines">
479
502
 
480
503
 
481
504
  13
482
505
  14
483
506
  15</pre>
484
- </td>
485
- <td>
486
- <pre class="code"><span class="info file"># File 'lib/csv_decision/columns.rb', line 13</span>
507
+ </td>
508
+ <td>
509
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/columns.rb', line 13</span>
487
510
 
488
511
  <span class='kw'>def</span> <span class='id identifier rubyid_ins?'>ins?</span>
489
512
  <span class='qsymbols_beg'>%i[</span><span class='tstring_content'>in</span><span class='words_sep'> </span><span class='tstring_content'>guard</span><span class='words_sep'>]</span><span class='period'>.</span><span class='id identifier rubyid_member?'>member?</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='kw'>true</span> <span class='op'>:</span> <span class='kw'>false</span>
490
513
  <span class='kw'>end</span></pre>
491
- </td>
492
- </tr>
493
- </table>
494
- </div>
495
-
496
- </div>
514
+ </td>
515
+ </tr>
516
+ </table>
517
+ </div>
497
518
 
498
- </div>
519
+ </div>
499
520
 
500
- <div id="footer">
501
- Generated on Mon Jan 1 15:30:59 2018 by
502
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
503
- 0.9.12 (ruby-2.4.0).
504
- </div>
521
+ </div>
505
522
 
523
+ <div id="footer">
524
+ Generated on Mon Jan 1 15:30:59 2018 by
525
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
526
+ 0.9.12 (ruby-2.4.0).
506
527
  </div>
507
- </body>
508
- </html>
528
+
529
+ </div>
530
+ </body>
531
+
532
+ </html>