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::Matchers::Guard
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::Matchers::Guard
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::Matchers::Guard";
19
- relpath = '../../';
20
- </script>
18
+ <script type="text/javascript" charset="utf-8">
19
+ pathId = "CSVDecision2::Matchers::Guard";
20
+ relpath = '../../';
21
+ </script>
21
22
 
22
23
 
23
24
  <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
@@ -25,290 +26,317 @@
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 (G)</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="../Matchers.html"
45
+ title="CSVDecision2::Matchers (class)">Matchers</a></span></span>
46
+ &raquo;
47
+ <span class="title">Guard</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 (G)</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="../Matchers.html" title="CSVDecision::Matchers (class)">Matchers</a></span></span>
41
- &raquo;
42
- <span class="title">Guard</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::Matchers::Guard
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"><span class='object_link'><a href="Matcher.html"
78
+ title="CSVDecision2::Matchers::Matcher (class)">Matcher</a></span></span>
79
+
80
+ <ul class="fullTree">
81
+ <li>Object</li>
82
+
83
+ <li class="next"><span class='object_link'><a href="Matcher.html"
84
+ title="CSVDecision2::Matchers::Matcher (class)">Matcher</a></span></li>
85
+
86
+ <li class="next">CSVDecision2::Matchers::Guard</li>
87
+
88
+ </ul>
89
+ <a href="#" class="inheritanceTree">show all</a>
90
+
91
+ </dd>
92
+ </dl>
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <dl>
105
+ <dt>Defined in:</dt>
106
+ <dd>lib/csv_decision2/matchers/guard.rb</dd>
107
+ </dl>
108
+
60
109
  </div>
61
110
 
62
- <div id="content"><h1>Class: CSVDecision::Matchers::Guard
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"><span class='object_link'><a href="Matcher.html" title="CSVDecision::Matchers::Matcher (class)">Matcher</a></span></span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next"><span class='object_link'><a href="Matcher.html" title="CSVDecision::Matchers::Matcher (class)">Matcher</a></span></li>
78
-
79
- <li class="next">CSVDecision::Matchers::Guard</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/matchers/guard.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>Match cell against a column symbol guard expression - e.g.,
112
- <tt>&gt;:column.present?</tt> or <tt>:column == 100.0</tt>.</p>
111
+ <h2>Overview</h2>
112
+ <div class="docstring">
113
+ <div class="discussion">
114
+ <p class="note private">
115
+ <strong>This class is part of a private API.</strong>
116
+ You should avoid using this class if possible, as it may be removed or be changed in the future.
117
+ </p>
113
118
 
119
+ <p>Match cell against a column symbol guard expression - e.g.,
120
+ <tt>&gt;:column.present?</tt> or <tt>:column == 100.0</tt>.
121
+ </p>
114
122
 
115
- </div>
116
- </div>
117
- <div class="tags">
118
-
119
123
 
120
- </div>
124
+ </div>
125
+ </div>
126
+ <div class="tags">
127
+
128
+
129
+ </div>
121
130
 
122
131
 
123
132
 
124
133
 
125
134
 
126
135
 
127
-
128
- <h2>
129
- Class Method Summary
130
- <small><a href="#" class="summary_toggle">collapse</a></small>
131
- </h2>
132
136
 
133
- <ul class="summary">
134
-
137
+ <h2>
138
+ Class Method Summary
139
+ <small><a href="#" class="summary_toggle">collapse</a></small>
140
+ </h2>
141
+
142
+ <ul class="summary">
143
+
135
144
  <li class="public ">
136
- <span class="summary_signature">
137
-
138
- <a href="#matches%3F-class_method" title="matches? (class method)">.<strong>matches?</strong>(cell) &#x21d2; false, CSVDecision::Proc </a>
139
-
140
-
141
-
142
- </span>
143
-
144
-
145
-
146
-
147
-
148
-
149
- <span class="private note title">private</span>
150
-
151
-
152
- <span class="summary_desc"><div class='inline'>
153
- <p>Determine if the input cell string is recognised by this Matcher.</p>
154
- </div></span>
155
-
156
- </li>
157
-
158
-
159
- </ul>
160
-
161
- <h2>
162
- Instance Method Summary
163
- <small><a href="#" class="summary_toggle">collapse</a></small>
164
- </h2>
165
-
166
- <ul class="summary">
167
-
145
+ <span class="summary_signature">
146
+
147
+ <a href="#matches%3F-class_method" title="matches? (class method)">.<strong>matches?</strong>(cell) &#x21d2;
148
+ false, CSVDecision2::Proc </a>
149
+
150
+
151
+
152
+ </span>
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <span class="private note title">private</span>
160
+
161
+
162
+ <span class="summary_desc">
163
+ <div class='inline'>
164
+ <p>Determine if the input cell string is recognised by this Matcher.</p>
165
+ </div>
166
+ </span>
167
+
168
+ </li>
169
+
170
+
171
+ </ul>
172
+
173
+ <h2>
174
+ Instance Method Summary
175
+ <small><a href="#" class="summary_toggle">collapse</a></small>
176
+ </h2>
177
+
178
+ <ul class="summary">
179
+
168
180
  <li class="public ">
169
- <span class="summary_signature">
170
-
171
- <a href="#matches%3F-instance_method" title="#matches? (instance method)">#<strong>matches?</strong>(cell) &#x21d2; false, CSVDecision::Proc </a>
172
-
173
-
174
-
175
- </span>
176
-
177
-
178
-
179
-
180
-
181
-
182
- <span class="private note title">private</span>
183
-
184
-
185
- <span class="summary_desc"><div class='inline'>
186
- <p>Returns false if this cell is not a match; otherwise returns the
187
- <code>CSVDecision::Proc</code> object indicating if this is a constant or
188
- some type of function.</p>
189
- </div></span>
190
-
191
- </li>
192
-
193
-
181
+ <span class="summary_signature">
182
+
183
+ <a href="#matches%3F-instance_method" title="#matches? (instance method)">#<strong>matches?</strong>(cell)
184
+ &#x21d2; false, CSVDecision2::Proc </a>
185
+
186
+
187
+
188
+ </span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+ <span class="private note title">private</span>
196
+
197
+
198
+ <span class="summary_desc">
199
+ <div class='inline'>
200
+ <p>Returns false if this cell is not a match; otherwise returns the
201
+ <code>CSVDecision2::Proc</code> object indicating if this is a constant or
202
+ some type of function.
203
+ </p>
204
+ </div>
205
+ </span>
206
+
207
+ </li>
208
+
209
+
194
210
  <li class="public ">
195
- <span class="summary_signature">
196
-
197
- <a href="#outs%3F-instance_method" title="#outs? (instance method)">#<strong>outs?</strong> &#x21d2; Boolean </a>
198
-
199
-
200
-
201
- </span>
202
-
203
-
204
-
205
-
206
-
207
-
208
- <span class="private note title">private</span>
209
-
210
-
211
- <span class="summary_desc"><div class='inline'>
212
- <p>Return true if this matcher applies to output cells, false otherwise.</p>
213
- </div></span>
214
-
215
- </li>
216
-
217
-
218
- </ul>
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Matcher.html" title="CSVDecision::Matchers::Matcher (class)">Matcher</a></span></h3>
231
- <p class="inherited"><span class='object_link'><a href="Matcher.html#initialize-instance_method" title="CSVDecision::Matchers::Matcher#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Matcher.html#ins%3F-instance_method" title="CSVDecision::Matchers::Matcher#ins? (method)">#ins?</a></span></p>
232
- <div id="constructor_details" class="method_details_list">
233
- <h2>Constructor Details</h2>
234
-
235
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Matcher.html#initialize-instance_method" title="CSVDecision::Matchers::Matcher#initialize (method)">CSVDecision::Matchers::Matcher</a></span></p>
236
-
237
- </div>
238
-
239
-
240
- <div id="class_method_details" class="method_details_list">
241
- <h2>Class Method Details</h2>
242
-
243
-
244
- <div class="method_details first">
245
- <h3 class="signature first" id="matches?-class_method">
246
-
247
- .<strong>matches?</strong>(cell) &#x21d2; <tt>false</tt>, <tt>CSVDecision::Proc</tt>
248
-
249
-
250
-
251
-
252
-
253
- </h3><div class="docstring">
254
- <div class="discussion">
255
- <p class="note private">
256
- <strong>This method is part of a private API.</strong>
257
- You should avoid using this method if possible, as it may be removed or be changed in the future.
258
- </p>
259
-
260
- <p>Determine if the input cell string is recognised by this Matcher.</p>
211
+ <span class="summary_signature">
212
+
213
+ <a href="#outs%3F-instance_method" title="#outs? (instance method)">#<strong>outs?</strong> &#x21d2; Boolean
214
+ </a>
215
+
216
+
217
+
218
+ </span>
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <span class="private note title">private</span>
226
+
227
+
228
+ <span class="summary_desc">
229
+ <div class='inline'>
230
+ <p>Return true if this matcher applies to output cells, false otherwise.</p>
231
+ </div>
232
+ </span>
233
+
234
+ </li>
235
+
236
+
237
+ </ul>
238
+
239
+
240
+
241
+
261
242
 
262
243
 
263
- </div>
264
- </div>
265
- <div class="tags">
266
- <p class="tag_title">Parameters:</p>
267
- <ul class="param">
268
-
269
- <li>
270
-
271
- <span class='name'>cell</span>
272
-
273
-
274
- <span class='type'>(<tt>String</tt>)</span>
275
-
276
-
277
-
278
- &mdash;
279
- <div class='inline'>
280
- <p>Data row cell.</p>
281
- </div>
282
-
283
- </li>
284
-
285
- </ul>
286
-
287
- <p class="tag_title">Returns:</p>
288
- <ul class="return">
289
-
290
- <li>
291
-
292
-
293
- <span class='type'>(<tt>false</tt>, <tt>CSVDecision::Proc</tt>)</span>
294
-
295
-
296
-
297
- &mdash;
298
- <div class='inline'>
299
- <p>Returns false if this cell is not a match; otherwise returns the
300
- <code>CSVDecision::Proc</code> object indicating if this is a constant or
301
- some type of function.</p>
302
- </div>
303
-
304
- </li>
305
-
306
- </ul>
307
-
308
- </div><table class="source_code">
309
- <tr>
310
- <td>
311
- <pre class="lines">
244
+
245
+
246
+
247
+
248
+
249
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Matcher.html"
250
+ title="CSVDecision2::Matchers::Matcher (class)">Matcher</a></span></h3>
251
+ <p class="inherited"><span class='object_link'><a href="Matcher.html#initialize-instance_method"
252
+ title="CSVDecision2::Matchers::Matcher#initialize (method)">#initialize</a></span>, <span
253
+ class='object_link'><a href="Matcher.html#ins%3F-instance_method"
254
+ title="CSVDecision2::Matchers::Matcher#ins? (method)">#ins?</a></span></p>
255
+ <div id="constructor_details" class="method_details_list">
256
+ <h2>Constructor Details</h2>
257
+
258
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a
259
+ href="Matcher.html#initialize-instance_method"
260
+ title="CSVDecision2::Matchers::Matcher#initialize (method)">CSVDecision2::Matchers::Matcher</a></span></p>
261
+
262
+ </div>
263
+
264
+
265
+ <div id="class_method_details" class="method_details_list">
266
+ <h2>Class Method Details</h2>
267
+
268
+
269
+ <div class="method_details first">
270
+ <h3 class="signature first" id="matches?-class_method">
271
+
272
+ .<strong>matches?</strong>(cell) &#x21d2; <tt>false</tt>, <tt>CSVDecision2::Proc</tt>
273
+
274
+
275
+
276
+
277
+
278
+ </h3>
279
+ <div class="docstring">
280
+ <div class="discussion">
281
+ <p class="note private">
282
+ <strong>This method is part of a private API.</strong>
283
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
284
+ </p>
285
+
286
+ <p>Determine if the input cell string is recognised by this Matcher.</p>
287
+
288
+
289
+ </div>
290
+ </div>
291
+ <div class="tags">
292
+ <p class="tag_title">Parameters:</p>
293
+ <ul class="param">
294
+
295
+ <li>
296
+
297
+ <span class='name'>cell</span>
298
+
299
+
300
+ <span class='type'>(<tt>String</tt>)</span>
301
+
302
+
303
+
304
+ &mdash;
305
+ <div class='inline'>
306
+ <p>Data row cell.</p>
307
+ </div>
308
+
309
+ </li>
310
+
311
+ </ul>
312
+
313
+ <p class="tag_title">Returns:</p>
314
+ <ul class="return">
315
+
316
+ <li>
317
+
318
+
319
+ <span class='type'>(<tt>false</tt>, <tt>CSVDecision2::Proc</tt>)</span>
320
+
321
+
322
+
323
+ &mdash;
324
+ <div class='inline'>
325
+ <p>Returns false if this cell is not a match; otherwise returns the
326
+ <code>CSVDecision2::Proc</code> object indicating if this is a constant or
327
+ some type of function.
328
+ </p>
329
+ </div>
330
+
331
+ </li>
332
+
333
+ </ul>
334
+
335
+ </div>
336
+ <table class="source_code">
337
+ <tr>
338
+ <td>
339
+ <pre class="lines">
312
340
 
313
341
 
314
342
  123
@@ -317,9 +345,9 @@ some type of function.</p>
317
345
  126
318
346
  127
319
347
  128</pre>
320
- </td>
321
- <td>
322
- <pre class="code"><span class="info file"># File 'lib/csv_decision/matchers/guard.rb', line 123</span>
348
+ </td>
349
+ <td>
350
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/matchers/guard.rb', line 123</span>
323
351
 
324
352
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_matches?'>matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
325
353
  <span class='id identifier rubyid_proc'>proc</span> <span class='op'>=</span> <span class='id identifier rubyid_symbol_proc'>symbol_proc</span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
@@ -327,177 +355,184 @@ some type of function.</p>
327
355
 
328
356
  <span class='id identifier rubyid_symbol_guard'>symbol_guard</span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
329
357
  <span class='kw'>end</span></pre>
330
- </td>
331
- </tr>
332
- </table>
333
- </div>
334
-
335
- </div>
358
+ </td>
359
+ </tr>
360
+ </table>
361
+ </div>
336
362
 
337
- <div id="instance_method_details" class="method_details_list">
338
- <h2>Instance Method Details</h2>
363
+ </div>
339
364
 
340
-
341
- <div class="method_details first">
342
- <h3 class="signature first" id="matches?-instance_method">
343
-
344
- #<strong>matches?</strong>(cell) &#x21d2; <tt>false</tt>, <tt>CSVDecision::Proc</tt>
345
-
365
+ <div id="instance_method_details" class="method_details_list">
366
+ <h2>Instance Method Details</h2>
346
367
 
347
-
348
368
 
349
-
350
- </h3><div class="docstring">
351
- <div class="discussion">
352
- <p class="note private">
353
- <strong>This method is part of a private API.</strong>
354
- You should avoid using this method if possible, as it may be removed or be changed in the future.
355
- </p>
369
+ <div class="method_details first">
370
+ <h3 class="signature first" id="matches?-instance_method">
356
371
 
357
- <p>Returns false if this cell is not a match; otherwise returns the
358
- <code>CSVDecision::Proc</code> object indicating if this is a constant or
359
- some type of function.</p>
372
+ #<strong>matches?</strong>(cell) &#x21d2; <tt>false</tt>, <tt>CSVDecision2::Proc</tt>
360
373
 
361
374
 
362
- </div>
363
- </div>
364
- <div class="tags">
365
- <p class="tag_title">Parameters:</p>
366
- <ul class="param">
367
-
368
- <li>
369
-
370
- <span class='name'>cell</span>
371
-
372
-
373
- <span class='type'>(<tt>String</tt>)</span>
374
-
375
-
376
-
377
- &mdash;
378
- <div class='inline'>
379
- <p>Data row cell.</p>
380
- </div>
381
-
382
- </li>
383
-
384
- </ul>
385
-
386
- <p class="tag_title">Returns:</p>
387
- <ul class="return">
388
-
389
- <li>
390
-
391
-
392
- <span class='type'>(<tt>false</tt>, <tt>CSVDecision::Proc</tt>)</span>
393
-
394
-
395
-
396
- &mdash;
397
- <div class='inline'>
398
- <p>Returns false if this cell is not a match; otherwise returns the
399
- <code>CSVDecision::Proc</code> object indicating if this is a constant or
400
- some type of function.</p>
401
- </div>
402
-
403
- </li>
404
-
405
- </ul>
406
-
407
- </div><table class="source_code">
408
- <tr>
409
- <td>
410
- <pre class="lines">
375
+
376
+
377
+
378
+ </h3>
379
+ <div class="docstring">
380
+ <div class="discussion">
381
+ <p class="note private">
382
+ <strong>This method is part of a private API.</strong>
383
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
384
+ </p>
385
+
386
+ <p>Returns false if this cell is not a match; otherwise returns the
387
+ <code>CSVDecision2::Proc</code> object indicating if this is a constant or
388
+ some type of function.
389
+ </p>
390
+
391
+
392
+ </div>
393
+ </div>
394
+ <div class="tags">
395
+ <p class="tag_title">Parameters:</p>
396
+ <ul class="param">
397
+
398
+ <li>
399
+
400
+ <span class='name'>cell</span>
401
+
402
+
403
+ <span class='type'>(<tt>String</tt>)</span>
404
+
405
+
406
+
407
+ &mdash;
408
+ <div class='inline'>
409
+ <p>Data row cell.</p>
410
+ </div>
411
+
412
+ </li>
413
+
414
+ </ul>
415
+
416
+ <p class="tag_title">Returns:</p>
417
+ <ul class="return">
418
+
419
+ <li>
420
+
421
+
422
+ <span class='type'>(<tt>false</tt>, <tt>CSVDecision2::Proc</tt>)</span>
423
+
424
+
425
+
426
+ &mdash;
427
+ <div class='inline'>
428
+ <p>Returns false if this cell is not a match; otherwise returns the
429
+ <code>CSVDecision2::Proc</code> object indicating if this is a constant or
430
+ some type of function.
431
+ </p>
432
+ </div>
433
+
434
+ </li>
435
+
436
+ </ul>
437
+
438
+ </div>
439
+ <table class="source_code">
440
+ <tr>
441
+ <td>
442
+ <pre class="lines">
411
443
 
412
444
 
413
445
  132
414
446
  133
415
447
  134</pre>
416
- </td>
417
- <td>
418
- <pre class="code"><span class="info file"># File 'lib/csv_decision/matchers/guard.rb', line 132</span>
448
+ </td>
449
+ <td>
450
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/matchers/guard.rb', line 132</span>
419
451
 
420
452
  <span class='kw'>def</span> <span class='id identifier rubyid_matches?'>matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
421
- <span class='const'><span class='object_link'><a href="" title="CSVDecision::Matchers::Guard (class)">Guard</a></span></span><span class='period'>.</span><span class='id identifier rubyid_matches?'><span class='object_link'><a href="#matches%3F-class_method" title="CSVDecision::Matchers::Guard.matches? (method)">matches?</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
453
+ <span class='const'><span class='object_link'><a href="" title="CSVDecision2::Matchers::Guard (class)">Guard</a></span></span><span class='period'>.</span><span class='id identifier rubyid_matches?'><span class='object_link'><a href="#matches%3F-class_method" title="CSVDecision2::Matchers::Guard.matches? (method)">matches?</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_cell'>cell</span><span class='rparen'>)</span>
422
454
  <span class='kw'>end</span></pre>
423
- </td>
424
- </tr>
425
- </table>
426
- </div>
427
-
428
- <div class="method_details ">
429
- <h3 class="signature " id="outs?-instance_method">
430
-
431
- #<strong>outs?</strong> &#x21d2; <tt>Boolean</tt>
432
-
433
-
434
-
435
-
436
-
437
- </h3><div class="docstring">
438
- <div class="discussion">
439
- <p class="note private">
440
- <strong>This method is part of a private API.</strong>
441
- You should avoid using this method if possible, as it may be removed or be changed in the future.
442
- </p>
443
-
444
- <p>Return true if this matcher applies to output cells, false otherwise.</p>
455
+ </td>
456
+ </tr>
457
+ </table>
458
+ </div>
445
459
 
460
+ <div class="method_details ">
461
+ <h3 class="signature " id="outs?-instance_method">
462
+
463
+ #<strong>outs?</strong> &#x21d2; <tt>Boolean</tt>
446
464
 
447
- </div>
448
- </div>
449
- <div class="tags">
450
-
451
- <p class="tag_title">Returns:</p>
452
- <ul class="return">
453
-
454
- <li>
455
-
456
-
457
- <span class='type'>(<tt>Boolean</tt>)</span>
458
-
459
-
460
-
461
- &mdash;
462
- <div class='inline'>
463
- <p>Return true if this matcher applies to output cells, false otherwise.</p>
464
- </div>
465
-
466
- </li>
467
-
468
- </ul>
469
-
470
- </div><table class="source_code">
471
- <tr>
472
- <td>
473
- <pre class="lines">
465
+
466
+
467
+
468
+
469
+ </h3>
470
+ <div class="docstring">
471
+ <div class="discussion">
472
+ <p class="note private">
473
+ <strong>This method is part of a private API.</strong>
474
+ You should avoid using this method if possible, as it may be removed or be changed in the future.
475
+ </p>
476
+
477
+ <p>Return true if this matcher applies to output cells, false otherwise.</p>
478
+
479
+
480
+ </div>
481
+ </div>
482
+ <div class="tags">
483
+
484
+ <p class="tag_title">Returns:</p>
485
+ <ul class="return">
486
+
487
+ <li>
488
+
489
+
490
+ <span class='type'>(<tt>Boolean</tt>)</span>
491
+
492
+
493
+
494
+ &mdash;
495
+ <div class='inline'>
496
+ <p>Return true if this matcher applies to output cells, false otherwise.</p>
497
+ </div>
498
+
499
+ </li>
500
+
501
+ </ul>
502
+
503
+ </div>
504
+ <table class="source_code">
505
+ <tr>
506
+ <td>
507
+ <pre class="lines">
474
508
 
475
509
 
476
510
  137
477
511
  138
478
512
  139</pre>
479
- </td>
480
- <td>
481
- <pre class="code"><span class="info file"># File 'lib/csv_decision/matchers/guard.rb', line 137</span>
513
+ </td>
514
+ <td>
515
+ <pre class="code"><span class="info file"># File 'lib/csv_decision2/matchers/guard.rb', line 137</span>
482
516
 
483
517
  <span class='kw'>def</span> <span class='id identifier rubyid_outs?'>outs?</span>
484
518
  <span class='kw'>true</span>
485
519
  <span class='kw'>end</span></pre>
486
- </td>
487
- </tr>
488
- </table>
489
- </div>
490
-
491
- </div>
520
+ </td>
521
+ </tr>
522
+ </table>
523
+ </div>
492
524
 
493
- </div>
525
+ </div>
494
526
 
495
- <div id="footer">
496
- Generated on Sun Feb 11 10:26:09 2018 by
497
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
498
- 0.9.12 (ruby-2.4.0).
499
- </div>
527
+ </div>
500
528
 
529
+ <div id="footer">
530
+ Generated on Sun Feb 11 10:26:09 2018 by
531
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
532
+ 0.9.12 (ruby-2.4.0).
501
533
  </div>
502
- </body>
503
- </html>
534
+
535
+ </div>
536
+ </body>
537
+
538
+ </html>