kwalify 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/CHANGES.txt +12 -3
  2. data/MIT-LICENSE +1 -1
  3. data/README.txt +10 -10
  4. data/bin/kwalify +3 -3
  5. data/contrib/inline-require +54 -28
  6. data/contrib/kwalify +45 -44
  7. data/doc-api/classes/CommandOptionError.html +7 -7
  8. data/doc-api/classes/CommandOptionParser.html +18 -18
  9. data/doc-api/classes/Kwalify.html +1 -1
  10. data/doc-api/classes/Kwalify/AssertionError.html +6 -6
  11. data/doc-api/classes/Kwalify/BaseParser.html +60 -60
  12. data/doc-api/classes/Kwalify/CommandOptionError.html +6 -6
  13. data/doc-api/classes/Kwalify/Main.html +30 -30
  14. data/doc-api/classes/Kwalify/MetaValidator.html +18 -18
  15. data/doc-api/classes/Kwalify/Parser.html +6 -6
  16. data/doc-api/classes/Kwalify/PlainYamlParser.html +90 -90
  17. data/doc-api/classes/Kwalify/PlainYamlParser/Alias.html +6 -6
  18. data/doc-api/classes/Kwalify/Rule.html +24 -24
  19. data/doc-api/classes/Kwalify/SchemaError.html +6 -6
  20. data/doc-api/classes/Kwalify/SyntaxError.html +12 -12
  21. data/doc-api/classes/Kwalify/Util.html +8 -7
  22. data/doc-api/classes/Kwalify/ValidationError.html +6 -6
  23. data/doc-api/classes/Kwalify/Validator.html +39 -39
  24. data/doc-api/classes/Kwalify/YamlParser.html +84 -84
  25. data/doc-api/created.rid +1 -1
  26. data/doc-api/files/__/README_txt.html +11 -11
  27. data/doc-api/files/kwalify/errors_rb.html +2 -2
  28. data/doc-api/files/kwalify/main_rb.html +2 -2
  29. data/doc-api/files/kwalify/messages_rb.html +2 -2
  30. data/doc-api/files/kwalify/meta-validator_rb.html +2 -2
  31. data/doc-api/files/kwalify/parser/base_rb.html +2 -2
  32. data/doc-api/files/kwalify/parser/yaml_rb.html +2 -2
  33. data/doc-api/files/kwalify/rule_rb.html +2 -2
  34. data/doc-api/files/kwalify/types_rb.html +2 -2
  35. data/doc-api/files/kwalify/util/assert-text-equal_rb.html +2 -2
  36. data/doc-api/files/kwalify/util/hash-interface_rb.html +2 -2
  37. data/doc-api/files/kwalify/util/hashlike_rb.html +2 -2
  38. data/doc-api/files/kwalify/util/option-parser_rb.html +2 -2
  39. data/doc-api/files/kwalify/util/ordered-hash_rb.html +2 -2
  40. data/doc-api/files/kwalify/util/testcase-helper_rb.html +2 -2
  41. data/doc-api/files/kwalify/util_rb.html +2 -2
  42. data/doc-api/files/kwalify/validator_rb.html +2 -2
  43. data/doc-api/files/kwalify/yaml-parser_rb.html +2 -2
  44. data/doc-api/files/kwalify_rb.html +2 -2
  45. data/doc-api/fr_method_index.html +70 -70
  46. data/doc/users-guide.html +1 -1
  47. data/examples/address-book/address-book.schema.yaml +2 -2
  48. data/examples/invoice/invoice.schema.yaml +3 -3
  49. data/examples/tapkit/tapkit.schema.yaml +2 -2
  50. data/lib/kwalify.rb +3 -3
  51. data/lib/kwalify/errors.rb +3 -3
  52. data/lib/kwalify/kwalify.schema.yaml +3 -3
  53. data/lib/kwalify/main.rb +4 -4
  54. data/lib/kwalify/messages.rb +3 -3
  55. data/lib/kwalify/meta-validator.rb +3 -3
  56. data/lib/kwalify/parser/base.rb +3 -3
  57. data/lib/kwalify/parser/yaml.rb +3 -3
  58. data/lib/kwalify/rule.rb +3 -3
  59. data/lib/kwalify/templates/genclass-java.eruby +3 -3
  60. data/lib/kwalify/templates/genclass-php.eruby +2 -2
  61. data/lib/kwalify/templates/genclass-ruby.eruby +3 -3
  62. data/lib/kwalify/types.rb +3 -3
  63. data/lib/kwalify/util.rb +6 -5
  64. data/lib/kwalify/util/assert-text-equal.rb +3 -3
  65. data/lib/kwalify/util/hash-interface.rb +3 -3
  66. data/lib/kwalify/util/hashlike.rb +3 -3
  67. data/lib/kwalify/util/option-parser.rb +3 -3
  68. data/lib/kwalify/util/ordered-hash.rb +2 -2
  69. data/lib/kwalify/util/testcase-helper.rb +3 -3
  70. data/lib/kwalify/validator.rb +3 -3
  71. data/lib/kwalify/yaml-parser.rb +3 -3
  72. data/test/test-action.rb +3 -3
  73. data/test/test-action.yaml +3 -3
  74. data/test/test-databinding.rb +3 -3
  75. data/test/test-databinding.yaml +2 -2
  76. data/test/test-main.rb +3 -3
  77. data/test/test-main.yaml +34 -3
  78. data/test/test-metavalidator.rb +3 -3
  79. data/test/test-metavalidator.yaml +3 -3
  80. data/test/test-parser-yaml.rb +3 -3
  81. data/test/test-parser-yaml.yaml +3 -3
  82. data/test/test-rule.rb +3 -3
  83. data/test/test-rule.yaml +3 -3
  84. data/test/test-util.rb +125 -0
  85. data/test/test-validator.rb +3 -3
  86. data/test/test-validator.yaml +3 -3
  87. data/test/test-yaml-parser.rb +3 -3
  88. data/test/test-yaml-parser.yaml +4 -4
  89. data/test/test.rb +4 -3
  90. metadata +56 -55
@@ -104,9 +104,9 @@ ex.
104
104
  <h3 class="section-bar">Methods</h3>
105
105
 
106
106
  <div class="name-list">
107
- <a href="#M000121">instance</a>&nbsp;&nbsp;
108
- <a href="#M000122">new</a>&nbsp;&nbsp;
109
- <a href="#M000123">validate_hook</a>&nbsp;&nbsp;
107
+ <a href="#M000113">instance</a>&nbsp;&nbsp;
108
+ <a href="#M000114">new</a>&nbsp;&nbsp;
109
+ <a href="#M000115">validate_hook</a>&nbsp;&nbsp;
110
110
  </div>
111
111
  </div>
112
112
 
@@ -141,19 +141,19 @@ ex.
141
141
  <div id="methods">
142
142
  <h3 class="section-bar">Public Class methods</h3>
143
143
 
144
- <div id="method-M000121" class="method-detail">
145
- <a name="M000121"></a>
144
+ <div id="method-M000113" class="method-detail">
145
+ <a name="M000113"></a>
146
146
 
147
147
  <div class="method-heading">
148
- <a href="#M000121" class="method-signature">
148
+ <a href="#M000113" class="method-signature">
149
149
  <span class="method-name">instance</span><span class="method-args">()</span>
150
150
  </a>
151
151
  </div>
152
152
 
153
153
  <div class="method-description">
154
154
  <p><a class="source-toggle" href="#"
155
- onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
156
- <div class="method-source-code" id="M000121-source">
155
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
156
+ <div class="method-source-code" id="M000113-source">
157
157
  <pre>
158
158
  <span class="ruby-comment cmt"># File kwalify/meta-validator.rb, line 32</span>
159
159
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance</span>()
@@ -168,19 +168,19 @@ ex.
168
168
  </div>
169
169
  </div>
170
170
 
171
- <div id="method-M000122" class="method-detail">
172
- <a name="M000122"></a>
171
+ <div id="method-M000114" class="method-detail">
172
+ <a name="M000114"></a>
173
173
 
174
174
  <div class="method-heading">
175
- <a href="#M000122" class="method-signature">
175
+ <a href="#M000114" class="method-signature">
176
176
  <span class="method-name">new</span><span class="method-args">(schema, &amp;block)</span>
177
177
  </a>
178
178
  </div>
179
179
 
180
180
  <div class="method-description">
181
181
  <p><a class="source-toggle" href="#"
182
- onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
183
- <div class="method-source-code" id="M000122-source">
182
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
183
+ <div class="method-source-code" id="M000114-source">
184
184
  <pre>
185
185
  <span class="ruby-comment cmt"># File kwalify/meta-validator.rb, line 40</span>
186
186
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">schema</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -193,19 +193,19 @@ ex.
193
193
 
194
194
  <h3 class="section-bar">Public Instance methods</h3>
195
195
 
196
- <div id="method-M000123" class="method-detail">
197
- <a name="M000123"></a>
196
+ <div id="method-M000115" class="method-detail">
197
+ <a name="M000115"></a>
198
198
 
199
199
  <div class="method-heading">
200
- <a href="#M000123" class="method-signature">
200
+ <a href="#M000115" class="method-signature">
201
201
  <span class="method-name">validate_hook</span><span class="method-args">(value, rule, path, errors)</span>
202
202
  </a>
203
203
  </div>
204
204
 
205
205
  <div class="method-description">
206
206
  <p><a class="source-toggle" href="#"
207
- onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
208
- <div class="method-source-code" id="M000123-source">
207
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
208
+ <div class="method-source-code" id="M000115-source">
209
209
  <pre>
210
210
  <span class="ruby-comment cmt"># File kwalify/meta-validator.rb, line 44</span>
211
211
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate_hook</span>(<span class="ruby-identifier">value</span>, <span class="ruby-identifier">rule</span>, <span class="ruby-identifier">path</span>, <span class="ruby-identifier">errors</span>)
@@ -94,7 +94,7 @@ alias of <a href="YamlParser.html">YamlParser</a> class
94
94
  <h3 class="section-bar">Methods</h3>
95
95
 
96
96
  <div class="name-list">
97
- <a href="#M000085">new</a>&nbsp;&nbsp;
97
+ <a href="#M000074">new</a>&nbsp;&nbsp;
98
98
  </div>
99
99
  </div>
100
100
 
@@ -116,19 +116,19 @@ alias of <a href="YamlParser.html">YamlParser</a> class
116
116
  <div id="methods">
117
117
  <h3 class="section-bar">Public Class methods</h3>
118
118
 
119
- <div id="method-M000085" class="method-detail">
120
- <a name="M000085"></a>
119
+ <div id="method-M000074" class="method-detail">
120
+ <a name="M000074"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="#M000085" class="method-signature">
123
+ <a href="#M000074" class="method-signature">
124
124
  <span class="method-name">new</span><span class="method-args">(yaml_str)</span>
125
125
  </a>
126
126
  </div>
127
127
 
128
128
  <div class="method-description">
129
129
  <p><a class="source-toggle" href="#"
130
- onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
131
- <div class="method-source-code" id="M000085-source">
130
+ onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
131
+ <div class="method-source-code" id="M000074-source">
132
132
  <pre>
133
133
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 863</span>
134
134
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">yaml_str</span>)
@@ -101,21 +101,21 @@ ex.
101
101
  <h3 class="section-bar">Methods</h3>
102
102
 
103
103
  <div class="name-list">
104
- <a href="#M000135">add_to_map</a>&nbsp;&nbsp;
105
- <a href="#M000132">add_to_seq</a>&nbsp;&nbsp;
106
- <a href="#M000134">create_mapping</a>&nbsp;&nbsp;
107
- <a href="#M000139">create_scalar</a>&nbsp;&nbsp;
108
- <a href="#M000131">create_sequence</a>&nbsp;&nbsp;
109
- <a href="#M000140">current_line</a>&nbsp;&nbsp;
110
- <a href="#M000141">current_linenum</a>&nbsp;&nbsp;
111
- <a href="#M000129">has_next?</a>&nbsp;&nbsp;
112
- <a href="#M000138">merge_map</a>&nbsp;&nbsp;
113
- <a href="#M000127">new</a>&nbsp;&nbsp;
114
- <a href="#M000128">parse</a>&nbsp;&nbsp;
115
- <a href="#M000130">parse_all</a>&nbsp;&nbsp;
116
- <a href="#M000137">set_default</a>&nbsp;&nbsp;
117
- <a href="#M000136">set_map_with</a>&nbsp;&nbsp;
118
- <a href="#M000133">set_seq_at</a>&nbsp;&nbsp;
104
+ <a href="#M000125">add_to_map</a>&nbsp;&nbsp;
105
+ <a href="#M000122">add_to_seq</a>&nbsp;&nbsp;
106
+ <a href="#M000124">create_mapping</a>&nbsp;&nbsp;
107
+ <a href="#M000129">create_scalar</a>&nbsp;&nbsp;
108
+ <a href="#M000121">create_sequence</a>&nbsp;&nbsp;
109
+ <a href="#M000130">current_line</a>&nbsp;&nbsp;
110
+ <a href="#M000131">current_linenum</a>&nbsp;&nbsp;
111
+ <a href="#M000119">has_next?</a>&nbsp;&nbsp;
112
+ <a href="#M000128">merge_map</a>&nbsp;&nbsp;
113
+ <a href="#M000117">new</a>&nbsp;&nbsp;
114
+ <a href="#M000118">parse</a>&nbsp;&nbsp;
115
+ <a href="#M000120">parse_all</a>&nbsp;&nbsp;
116
+ <a href="#M000127">set_default</a>&nbsp;&nbsp;
117
+ <a href="#M000126">set_map_with</a>&nbsp;&nbsp;
118
+ <a href="#M000123">set_seq_at</a>&nbsp;&nbsp;
119
119
  </div>
120
120
  </div>
121
121
 
@@ -143,19 +143,19 @@ ex.
143
143
  <div id="methods">
144
144
  <h3 class="section-bar">Public Class methods</h3>
145
145
 
146
- <div id="method-M000127" class="method-detail">
147
- <a name="M000127"></a>
146
+ <div id="method-M000117" class="method-detail">
147
+ <a name="M000117"></a>
148
148
 
149
149
  <div class="method-heading">
150
- <a href="#M000127" class="method-signature">
150
+ <a href="#M000117" class="method-signature">
151
151
  <span class="method-name">new</span><span class="method-args">(yaml_str)</span>
152
152
  </a>
153
153
  </div>
154
154
 
155
155
  <div class="method-description">
156
156
  <p><a class="source-toggle" href="#"
157
- onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
158
- <div class="method-source-code" id="M000127-source">
157
+ onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
158
+ <div class="method-source-code" id="M000117-source">
159
159
  <pre>
160
160
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 36</span>
161
161
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">yaml_str</span>)
@@ -172,19 +172,19 @@ ex.
172
172
 
173
173
  <h3 class="section-bar">Public Instance methods</h3>
174
174
 
175
- <div id="method-M000129" class="method-detail">
176
- <a name="M000129"></a>
175
+ <div id="method-M000119" class="method-detail">
176
+ <a name="M000119"></a>
177
177
 
178
178
  <div class="method-heading">
179
- <a href="#M000129" class="method-signature">
179
+ <a href="#M000119" class="method-signature">
180
180
  <span class="method-name">has_next?</span><span class="method-args">()</span>
181
181
  </a>
182
182
  </div>
183
183
 
184
184
  <div class="method-description">
185
185
  <p><a class="source-toggle" href="#"
186
- onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
187
- <div class="method-source-code" id="M000129-source">
186
+ onclick="toggleCode('M000119-source');return false;">[Source]</a></p>
187
+ <div class="method-source-code" id="M000119-source">
188
188
  <pre>
189
189
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 55</span>
190
190
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_next?</span>
@@ -195,19 +195,19 @@ ex.
195
195
  </div>
196
196
  </div>
197
197
 
198
- <div id="method-M000128" class="method-detail">
199
- <a name="M000128"></a>
198
+ <div id="method-M000118" class="method-detail">
199
+ <a name="M000118"></a>
200
200
 
201
201
  <div class="method-heading">
202
- <a href="#M000128" class="method-signature">
202
+ <a href="#M000118" class="method-signature">
203
203
  <span class="method-name">parse</span><span class="method-args">()</span>
204
204
  </a>
205
205
  </div>
206
206
 
207
207
  <div class="method-description">
208
208
  <p><a class="source-toggle" href="#"
209
- onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
210
- <div class="method-source-code" id="M000128-source">
209
+ onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
210
+ <div class="method-source-code" id="M000118-source">
211
211
  <pre>
212
212
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 45</span>
213
213
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>()
@@ -223,19 +223,19 @@ ex.
223
223
  </div>
224
224
  </div>
225
225
 
226
- <div id="method-M000130" class="method-detail">
227
- <a name="M000130"></a>
226
+ <div id="method-M000120" class="method-detail">
227
+ <a name="M000120"></a>
228
228
 
229
229
  <div class="method-heading">
230
- <a href="#M000130" class="method-signature">
230
+ <a href="#M000120" class="method-signature">
231
231
  <span class="method-name">parse_all</span><span class="method-args">()</span>
232
232
  </a>
233
233
  </div>
234
234
 
235
235
  <div class="method-description">
236
236
  <p><a class="source-toggle" href="#"
237
- onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
238
- <div class="method-source-code" id="M000130-source">
237
+ onclick="toggleCode('M000120-source');return false;">[Source]</a></p>
238
+ <div class="method-source-code" id="M000120-source">
239
239
  <pre>
240
240
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 60</span>
241
241
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_all</span>
@@ -253,19 +253,19 @@ ex.
253
253
 
254
254
  <h3 class="section-bar">Protected Instance methods</h3>
255
255
 
256
- <div id="method-M000135" class="method-detail">
257
- <a name="M000135"></a>
256
+ <div id="method-M000125" class="method-detail">
257
+ <a name="M000125"></a>
258
258
 
259
259
  <div class="method-heading">
260
- <a href="#M000135" class="method-signature">
260
+ <a href="#M000125" class="method-signature">
261
261
  <span class="method-name">add_to_map</span><span class="method-args">(map, key, value, linenum)</span>
262
262
  </a>
263
263
  </div>
264
264
 
265
265
  <div class="method-description">
266
266
  <p><a class="source-toggle" href="#"
267
- onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
268
- <div class="method-source-code" id="M000135-source">
267
+ onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
268
+ <div class="method-source-code" id="M000125-source">
269
269
  <pre>
270
270
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 89</span>
271
271
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_to_map</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
@@ -276,19 +276,19 @@ ex.
276
276
  </div>
277
277
  </div>
278
278
 
279
- <div id="method-M000132" class="method-detail">
280
- <a name="M000132"></a>
279
+ <div id="method-M000122" class="method-detail">
280
+ <a name="M000122"></a>
281
281
 
282
282
  <div class="method-heading">
283
- <a href="#M000132" class="method-signature">
283
+ <a href="#M000122" class="method-signature">
284
284
  <span class="method-name">add_to_seq</span><span class="method-args">(seq, value, linenum)</span>
285
285
  </a>
286
286
  </div>
287
287
 
288
288
  <div class="method-description">
289
289
  <p><a class="source-toggle" href="#"
290
- onclick="toggleCode('M000132-source');return false;">[Source]</a></p>
291
- <div class="method-source-code" id="M000132-source">
290
+ onclick="toggleCode('M000122-source');return false;">[Source]</a></p>
291
+ <div class="method-source-code" id="M000122-source">
292
292
  <pre>
293
293
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 77</span>
294
294
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_to_seq</span>(<span class="ruby-identifier">seq</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
@@ -299,19 +299,19 @@ ex.
299
299
  </div>
300
300
  </div>
301
301
 
302
- <div id="method-M000134" class="method-detail">
303
- <a name="M000134"></a>
302
+ <div id="method-M000124" class="method-detail">
303
+ <a name="M000124"></a>
304
304
 
305
305
  <div class="method-heading">
306
- <a href="#M000134" class="method-signature">
306
+ <a href="#M000124" class="method-signature">
307
307
  <span class="method-name">create_mapping</span><span class="method-args">(linenum=nil)</span>
308
308
  </a>
309
309
  </div>
310
310
 
311
311
  <div class="method-description">
312
312
  <p><a class="source-toggle" href="#"
313
- onclick="toggleCode('M000134-source');return false;">[Source]</a></p>
314
- <div class="method-source-code" id="M000134-source">
313
+ onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
314
+ <div class="method-source-code" id="M000124-source">
315
315
  <pre>
316
316
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 85</span>
317
317
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_mapping</span>(<span class="ruby-identifier">linenum</span>=<span class="ruby-keyword kw">nil</span>)
@@ -322,19 +322,19 @@ ex.
322
322
  </div>
323
323
  </div>
324
324
 
325
- <div id="method-M000139" class="method-detail">
326
- <a name="M000139"></a>
325
+ <div id="method-M000129" class="method-detail">
326
+ <a name="M000129"></a>
327
327
 
328
328
  <div class="method-heading">
329
- <a href="#M000139" class="method-signature">
329
+ <a href="#M000129" class="method-signature">
330
330
  <span class="method-name">create_scalar</span><span class="method-args">(value, linenum=nil)</span>
331
331
  </a>
332
332
  </div>
333
333
 
334
334
  <div class="method-description">
335
335
  <p><a class="source-toggle" href="#"
336
- onclick="toggleCode('M000139-source');return false;">[Source]</a></p>
337
- <div class="method-source-code" id="M000139-source">
336
+ onclick="toggleCode('M000129-source');return false;">[Source]</a></p>
337
+ <div class="method-source-code" id="M000129-source">
338
338
  <pre>
339
339
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 107</span>
340
340
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_scalar</span>(<span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>=<span class="ruby-keyword kw">nil</span>)
@@ -345,19 +345,19 @@ ex.
345
345
  </div>
346
346
  </div>
347
347
 
348
- <div id="method-M000131" class="method-detail">
349
- <a name="M000131"></a>
348
+ <div id="method-M000121" class="method-detail">
349
+ <a name="M000121"></a>
350
350
 
351
351
  <div class="method-heading">
352
- <a href="#M000131" class="method-signature">
352
+ <a href="#M000121" class="method-signature">
353
353
  <span class="method-name">create_sequence</span><span class="method-args">(linenum=nil)</span>
354
354
  </a>
355
355
  </div>
356
356
 
357
357
  <div class="method-description">
358
358
  <p><a class="source-toggle" href="#"
359
- onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
360
- <div class="method-source-code" id="M000131-source">
359
+ onclick="toggleCode('M000121-source');return false;">[Source]</a></p>
360
+ <div class="method-source-code" id="M000121-source">
361
361
  <pre>
362
362
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 73</span>
363
363
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_sequence</span>(<span class="ruby-identifier">linenum</span>=<span class="ruby-keyword kw">nil</span>)
@@ -368,19 +368,19 @@ ex.
368
368
  </div>
369
369
  </div>
370
370
 
371
- <div id="method-M000140" class="method-detail">
372
- <a name="M000140"></a>
371
+ <div id="method-M000130" class="method-detail">
372
+ <a name="M000130"></a>
373
373
 
374
374
  <div class="method-heading">
375
- <a href="#M000140" class="method-signature">
375
+ <a href="#M000130" class="method-signature">
376
376
  <span class="method-name">current_line</span><span class="method-args">()</span>
377
377
  </a>
378
378
  </div>
379
379
 
380
380
  <div class="method-description">
381
381
  <p><a class="source-toggle" href="#"
382
- onclick="toggleCode('M000140-source');return false;">[Source]</a></p>
383
- <div class="method-source-code" id="M000140-source">
382
+ onclick="toggleCode('M000130-source');return false;">[Source]</a></p>
383
+ <div class="method-source-code" id="M000130-source">
384
384
  <pre>
385
385
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 112</span>
386
386
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_line</span>
@@ -391,19 +391,19 @@ ex.
391
391
  </div>
392
392
  </div>
393
393
 
394
- <div id="method-M000141" class="method-detail">
395
- <a name="M000141"></a>
394
+ <div id="method-M000131" class="method-detail">
395
+ <a name="M000131"></a>
396
396
 
397
397
  <div class="method-heading">
398
- <a href="#M000141" class="method-signature">
398
+ <a href="#M000131" class="method-signature">
399
399
  <span class="method-name">current_linenum</span><span class="method-args">()</span>
400
400
  </a>
401
401
  </div>
402
402
 
403
403
  <div class="method-description">
404
404
  <p><a class="source-toggle" href="#"
405
- onclick="toggleCode('M000141-source');return false;">[Source]</a></p>
406
- <div class="method-source-code" id="M000141-source">
405
+ onclick="toggleCode('M000131-source');return false;">[Source]</a></p>
406
+ <div class="method-source-code" id="M000131-source">
407
407
  <pre>
408
408
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 116</span>
409
409
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_linenum</span>
@@ -414,19 +414,19 @@ ex.
414
414
  </div>
415
415
  </div>
416
416
 
417
- <div id="method-M000138" class="method-detail">
418
- <a name="M000138"></a>
417
+ <div id="method-M000128" class="method-detail">
418
+ <a name="M000128"></a>
419
419
 
420
420
  <div class="method-heading">
421
- <a href="#M000138" class="method-signature">
421
+ <a href="#M000128" class="method-signature">
422
422
  <span class="method-name">merge_map</span><span class="method-args">(map, map2, linenum)</span>
423
423
  </a>
424
424
  </div>
425
425
 
426
426
  <div class="method-description">
427
427
  <p><a class="source-toggle" href="#"
428
- onclick="toggleCode('M000138-source');return false;">[Source]</a></p>
429
- <div class="method-source-code" id="M000138-source">
428
+ onclick="toggleCode('M000128-source');return false;">[Source]</a></p>
429
+ <div class="method-source-code" id="M000128-source">
430
430
  <pre>
431
431
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 101</span>
432
432
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge_map</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">map2</span>, <span class="ruby-identifier">linenum</span>)
@@ -439,19 +439,19 @@ ex.
439
439
  </div>
440
440
  </div>
441
441
 
442
- <div id="method-M000137" class="method-detail">
443
- <a name="M000137"></a>
442
+ <div id="method-M000127" class="method-detail">
443
+ <a name="M000127"></a>
444
444
 
445
445
  <div class="method-heading">
446
- <a href="#M000137" class="method-signature">
446
+ <a href="#M000127" class="method-signature">
447
447
  <span class="method-name">set_default</span><span class="method-args">(map, value, linenum)</span>
448
448
  </a>
449
449
  </div>
450
450
 
451
451
  <div class="method-description">
452
452
  <p><a class="source-toggle" href="#"
453
- onclick="toggleCode('M000137-source');return false;">[Source]</a></p>
454
- <div class="method-source-code" id="M000137-source">
453
+ onclick="toggleCode('M000127-source');return false;">[Source]</a></p>
454
+ <div class="method-source-code" id="M000127-source">
455
455
  <pre>
456
456
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 97</span>
457
457
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_default</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
@@ -462,19 +462,19 @@ ex.
462
462
  </div>
463
463
  </div>
464
464
 
465
- <div id="method-M000136" class="method-detail">
466
- <a name="M000136"></a>
465
+ <div id="method-M000126" class="method-detail">
466
+ <a name="M000126"></a>
467
467
 
468
468
  <div class="method-heading">
469
- <a href="#M000136" class="method-signature">
469
+ <a href="#M000126" class="method-signature">
470
470
  <span class="method-name">set_map_with</span><span class="method-args">(map, key, value, linenum)</span>
471
471
  </a>
472
472
  </div>
473
473
 
474
474
  <div class="method-description">
475
475
  <p><a class="source-toggle" href="#"
476
- onclick="toggleCode('M000136-source');return false;">[Source]</a></p>
477
- <div class="method-source-code" id="M000136-source">
476
+ onclick="toggleCode('M000126-source');return false;">[Source]</a></p>
477
+ <div class="method-source-code" id="M000126-source">
478
478
  <pre>
479
479
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 93</span>
480
480
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_map_with</span>(<span class="ruby-identifier">map</span>, <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)
@@ -485,19 +485,19 @@ ex.
485
485
  </div>
486
486
  </div>
487
487
 
488
- <div id="method-M000133" class="method-detail">
489
- <a name="M000133"></a>
488
+ <div id="method-M000123" class="method-detail">
489
+ <a name="M000123"></a>
490
490
 
491
491
  <div class="method-heading">
492
- <a href="#M000133" class="method-signature">
492
+ <a href="#M000123" class="method-signature">
493
493
  <span class="method-name">set_seq_at</span><span class="method-args">(seq, i, value, linenum)</span>
494
494
  </a>
495
495
  </div>
496
496
 
497
497
  <div class="method-description">
498
498
  <p><a class="source-toggle" href="#"
499
- onclick="toggleCode('M000133-source');return false;">[Source]</a></p>
500
- <div class="method-source-code" id="M000133-source">
499
+ onclick="toggleCode('M000123-source');return false;">[Source]</a></p>
500
+ <div class="method-source-code" id="M000123-source">
501
501
  <pre>
502
502
  <span class="ruby-comment cmt"># File kwalify/yaml-parser.rb, line 81</span>
503
503
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_seq_at</span>(<span class="ruby-identifier">seq</span>, <span class="ruby-identifier">i</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">linenum</span>)