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