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
@@ -147,9 +147,9 @@ ex.
147
147
  <h3 class="section-bar">Methods</h3>
148
148
 
149
149
  <div class="name-list">
150
- <a href="#M000002">new</a>&nbsp;&nbsp;
151
- <a href="#M000004">parse</a>&nbsp;&nbsp;
152
- <a href="#M000003">to_value</a>&nbsp;&nbsp;
150
+ <a href="#M000001">new</a>&nbsp;&nbsp;
151
+ <a href="#M000003">parse</a>&nbsp;&nbsp;
152
+ <a href="#M000002">to_value</a>&nbsp;&nbsp;
153
153
  </div>
154
154
  </div>
155
155
 
@@ -171,11 +171,11 @@ ex.
171
171
  <div id="methods">
172
172
  <h3 class="section-bar">Public Class methods</h3>
173
173
 
174
- <div id="method-M000002" class="method-detail">
175
- <a name="M000002"></a>
174
+ <div id="method-M000001" class="method-detail">
175
+ <a name="M000001"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="#M000002" class="method-signature">
178
+ <a href="#M000001" class="method-signature">
179
179
  <span class="method-name">new</span><span class="method-args">(arg_none=nil, arg_required=nil, arg_optional=nil)</span>
180
180
  </a>
181
181
  </div>
@@ -187,8 +187,8 @@ which takes argument arg_otpional: option string which may takes argument
187
187
  optionally
188
188
  </p>
189
189
  <p><a class="source-toggle" href="#"
190
- onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
191
- <div class="method-source-code" id="M000002-source">
190
+ onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
191
+ <div class="method-source-code" id="M000001-source">
192
192
  <pre>
193
193
  <span class="ruby-comment cmt"># File kwalify/util/option-parser.rb, line 92</span>
194
194
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">arg_none</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">arg_required</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">arg_optional</span>=<span class="ruby-keyword kw">nil</span>)
@@ -201,19 +201,19 @@ optionally
201
201
  </div>
202
202
  </div>
203
203
 
204
- <div id="method-M000003" class="method-detail">
205
- <a name="M000003"></a>
204
+ <div id="method-M000002" class="method-detail">
205
+ <a name="M000002"></a>
206
206
 
207
207
  <div class="method-heading">
208
- <a href="#M000003" class="method-signature">
208
+ <a href="#M000002" class="method-signature">
209
209
  <span class="method-name">to_value</span><span class="method-args">(str)</span>
210
210
  </a>
211
211
  </div>
212
212
 
213
213
  <div class="method-description">
214
214
  <p><a class="source-toggle" href="#"
215
- onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
216
- <div class="method-source-code" id="M000003-source">
215
+ onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
216
+ <div class="method-source-code" id="M000002-source">
217
217
  <pre>
218
218
  <span class="ruby-comment cmt"># File kwalify/util/option-parser.rb, line 99</span>
219
219
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_value</span>(<span class="ruby-identifier">str</span>)
@@ -235,11 +235,11 @@ optionally
235
235
 
236
236
  <h3 class="section-bar">Public Instance methods</h3>
237
237
 
238
- <div id="method-M000004" class="method-detail">
239
- <a name="M000004"></a>
238
+ <div id="method-M000003" class="method-detail">
239
+ <a name="M000003"></a>
240
240
 
241
241
  <div class="method-heading">
242
- <a href="#M000004" class="method-signature">
242
+ <a href="#M000003" class="method-signature">
243
243
  <span class="method-name">parse</span><span class="method-args">(argv, auto_convert=false)</span>
244
244
  </a>
245
245
  </div>
@@ -255,8 +255,8 @@ optionally
255
255
  </td></tr>
256
256
  </table>
257
257
  <p><a class="source-toggle" href="#"
258
- onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
259
- <div class="method-source-code" id="M000004-source">
258
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
259
+ <div class="method-source-code" id="M000003-source">
260
260
  <pre>
261
261
  <span class="ruby-comment cmt"># File kwalify/util/option-parser.rb, line 115</span>
262
262
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse</span>(<span class="ruby-identifier">argv</span>, <span class="ruby-identifier">auto_convert</span>=<span class="ruby-keyword kw">false</span>)
@@ -193,7 +193,7 @@ Class <a href="Kwalify/YamlSyntaxError.html" class="link">Kwalify::YamlSyntaxErr
193
193
  <tr class="top-aligned-row context-row">
194
194
  <td class="context-item-name">RELEASE</td>
195
195
  <td>=</td>
196
- <td class="context-item-value">(&quot;$Release: 0.7.1 $&quot; =~ /[.\d]+/) &amp;&amp; $&amp;</td>
196
+ <td class="context-item-value">(&quot;$Release: 0.7.2 $&quot; =~ /[.\d]+/) &amp;&amp; $&amp;</td>
197
197
  </tr>
198
198
  </table>
199
199
  </div>
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000124">new</a>&nbsp;&nbsp;
91
+ <a href="#M000135">new</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -110,19 +110,19 @@
110
110
  <div id="methods">
111
111
  <h3 class="section-bar">Public Class methods</h3>
112
112
 
113
- <div id="method-M000124" class="method-detail">
114
- <a name="M000124"></a>
113
+ <div id="method-M000135" class="method-detail">
114
+ <a name="M000135"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="#M000124" class="method-signature">
117
+ <a href="#M000135" class="method-signature">
118
118
  <span class="method-name">new</span><span class="method-args">(msg)</span>
119
119
  </a>
120
120
  </div>
121
121
 
122
122
  <div class="method-description">
123
123
  <p><a class="source-toggle" href="#"
124
- onclick="toggleCode('M000124-source');return false;">[Source]</a></p>
125
- <div class="method-source-code" id="M000124-source">
124
+ onclick="toggleCode('M000135-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000135-source">
126
126
  <pre>
127
127
  <span class="ruby-comment cmt"># File kwalify/errors.rb, line 16</span>
128
128
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">msg</span>)
@@ -92,16 +92,16 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000098">_getch</a>&nbsp;&nbsp;
96
- <a href="#M000093">_set_column_and_linenum</a>&nbsp;&nbsp;
97
- <a href="#M000100">_syntax_error</a>&nbsp;&nbsp;
98
- <a href="#M000096">eos?</a>&nbsp;&nbsp;
99
- <a href="#M000095">group</a>&nbsp;&nbsp;
100
- <a href="#M000094">match?</a>&nbsp;&nbsp;
101
- <a href="#M000097">peep</a>&nbsp;&nbsp;
102
- <a href="#M000091">reset</a>&nbsp;&nbsp;
103
- <a href="#M000092">scan</a>&nbsp;&nbsp;
104
- <a href="#M000099">scan_string</a>&nbsp;&nbsp;
95
+ <a href="#M000092">_getch</a>&nbsp;&nbsp;
96
+ <a href="#M000087">_set_column_and_linenum</a>&nbsp;&nbsp;
97
+ <a href="#M000094">_syntax_error</a>&nbsp;&nbsp;
98
+ <a href="#M000090">eos?</a>&nbsp;&nbsp;
99
+ <a href="#M000089">group</a>&nbsp;&nbsp;
100
+ <a href="#M000088">match?</a>&nbsp;&nbsp;
101
+ <a href="#M000091">peep</a>&nbsp;&nbsp;
102
+ <a href="#M000085">reset</a>&nbsp;&nbsp;
103
+ <a href="#M000086">scan</a>&nbsp;&nbsp;
104
+ <a href="#M000093">scan_string</a>&nbsp;&nbsp;
105
105
  </div>
106
106
  </div>
107
107
 
@@ -159,19 +159,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
159
159
  <div id="methods">
160
160
  <h3 class="section-bar">Public Instance methods</h3>
161
161
 
162
- <div id="method-M000098" class="method-detail">
163
- <a name="M000098"></a>
162
+ <div id="method-M000092" class="method-detail">
163
+ <a name="M000092"></a>
164
164
 
165
165
  <div class="method-heading">
166
- <a href="#M000098" class="method-signature">
166
+ <a href="#M000092" class="method-signature">
167
167
  <span class="method-name">_getch</span><span class="method-args">()</span>
168
168
  </a>
169
169
  </div>
170
170
 
171
171
  <div class="method-description">
172
172
  <p><a class="source-toggle" href="#"
173
- onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
174
- <div class="method-source-code" id="M000098-source">
173
+ onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000092-source">
175
175
  <pre>
176
176
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 67</span>
177
177
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_getch</span>
@@ -189,19 +189,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
189
189
  </div>
190
190
  </div>
191
191
 
192
- <div id="method-M000093" class="method-detail">
193
- <a name="M000093"></a>
192
+ <div id="method-M000087" class="method-detail">
193
+ <a name="M000087"></a>
194
194
 
195
195
  <div class="method-heading">
196
- <a href="#M000093" class="method-signature">
196
+ <a href="#M000087" class="method-signature">
197
197
  <span class="method-name">_set_column_and_linenum</span><span class="method-args">(s)</span>
198
198
  </a>
199
199
  </div>
200
200
 
201
201
  <div class="method-description">
202
202
  <p><a class="source-toggle" href="#"
203
- onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
204
- <div class="method-source-code" id="M000093-source">
203
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000087-source">
205
205
  <pre>
206
206
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 36</span>
207
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_set_column_and_linenum</span>(<span class="ruby-identifier">s</span>)
@@ -218,19 +218,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
218
218
  </div>
219
219
  </div>
220
220
 
221
- <div id="method-M000096" class="method-detail">
222
- <a name="M000096"></a>
221
+ <div id="method-M000090" class="method-detail">
222
+ <a name="M000090"></a>
223
223
 
224
224
  <div class="method-heading">
225
- <a href="#M000096" class="method-signature">
225
+ <a href="#M000090" class="method-signature">
226
226
  <span class="method-name">eos?</span><span class="method-args">()</span>
227
227
  </a>
228
228
  </div>
229
229
 
230
230
  <div class="method-description">
231
231
  <p><a class="source-toggle" href="#"
232
- onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
233
- <div class="method-source-code" id="M000096-source">
232
+ onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
233
+ <div class="method-source-code" id="M000090-source">
234
234
  <pre>
235
235
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 57</span>
236
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eos?</span>
@@ -241,19 +241,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
241
241
  </div>
242
242
  </div>
243
243
 
244
- <div id="method-M000095" class="method-detail">
245
- <a name="M000095"></a>
244
+ <div id="method-M000089" class="method-detail">
245
+ <a name="M000089"></a>
246
246
 
247
247
  <div class="method-heading">
248
- <a href="#M000095" class="method-signature">
248
+ <a href="#M000089" class="method-signature">
249
249
  <span class="method-name">group</span><span class="method-args">(n)</span>
250
250
  </a>
251
251
  </div>
252
252
 
253
253
  <div class="method-description">
254
254
  <p><a class="source-toggle" href="#"
255
- onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
256
- <div class="method-source-code" id="M000095-source">
255
+ onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
256
+ <div class="method-source-code" id="M000089-source">
257
257
  <pre>
258
258
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 52</span>
259
259
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group</span>(<span class="ruby-identifier">n</span>)
@@ -264,19 +264,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
264
264
  </div>
265
265
  </div>
266
266
 
267
- <div id="method-M000094" class="method-detail">
268
- <a name="M000094"></a>
267
+ <div id="method-M000088" class="method-detail">
268
+ <a name="M000088"></a>
269
269
 
270
270
  <div class="method-heading">
271
- <a href="#M000094" class="method-signature">
271
+ <a href="#M000088" class="method-signature">
272
272
  <span class="method-name">match?</span><span class="method-args">(regexp)</span>
273
273
  </a>
274
274
  </div>
275
275
 
276
276
  <div class="method-description">
277
277
  <p><a class="source-toggle" href="#"
278
- onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
279
- <div class="method-source-code" id="M000094-source">
278
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
279
+ <div class="method-source-code" id="M000088-source">
280
280
  <pre>
281
281
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 47</span>
282
282
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">match?</span>(<span class="ruby-identifier">regexp</span>)
@@ -287,19 +287,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
287
287
  </div>
288
288
  </div>
289
289
 
290
- <div id="method-M000097" class="method-detail">
291
- <a name="M000097"></a>
290
+ <div id="method-M000091" class="method-detail">
291
+ <a name="M000091"></a>
292
292
 
293
293
  <div class="method-heading">
294
- <a href="#M000097" class="method-signature">
294
+ <a href="#M000091" class="method-signature">
295
295
  <span class="method-name">peep</span><span class="method-args">(n=1)</span>
296
296
  </a>
297
297
  </div>
298
298
 
299
299
  <div class="method-description">
300
300
  <p><a class="source-toggle" href="#"
301
- onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
302
- <div class="method-source-code" id="M000097-source">
301
+ onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
302
+ <div class="method-source-code" id="M000091-source">
303
303
  <pre>
304
304
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 62</span>
305
305
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">peep</span>(<span class="ruby-identifier">n</span>=<span class="ruby-value">1</span>)
@@ -310,19 +310,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
310
310
  </div>
311
311
  </div>
312
312
 
313
- <div id="method-M000091" class="method-detail">
314
- <a name="M000091"></a>
313
+ <div id="method-M000085" class="method-detail">
314
+ <a name="M000085"></a>
315
315
 
316
316
  <div class="method-heading">
317
- <a href="#M000091" class="method-signature">
317
+ <a href="#M000085" class="method-signature">
318
318
  <span class="method-name">reset</span><span class="method-args">(input, filename=nil, untabify=false)</span>
319
319
  </a>
320
320
  </div>
321
321
 
322
322
  <div class="method-description">
323
323
  <p><a class="source-toggle" href="#"
324
- onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
325
- <div class="method-source-code" id="M000091-source">
324
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
325
+ <div class="method-source-code" id="M000085-source">
326
326
  <pre>
327
327
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 18</span>
328
328
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">filename</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">untabify</span>=<span class="ruby-keyword kw">false</span>)
@@ -337,19 +337,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
337
337
  </div>
338
338
  </div>
339
339
 
340
- <div id="method-M000092" class="method-detail">
341
- <a name="M000092"></a>
340
+ <div id="method-M000086" class="method-detail">
341
+ <a name="M000086"></a>
342
342
 
343
343
  <div class="method-heading">
344
- <a href="#M000092" class="method-signature">
344
+ <a href="#M000086" class="method-signature">
345
345
  <span class="method-name">scan</span><span class="method-args">(regexp)</span>
346
346
  </a>
347
347
  </div>
348
348
 
349
349
  <div class="method-description">
350
350
  <p><a class="source-toggle" href="#"
351
- onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
352
- <div class="method-source-code" id="M000092-source">
351
+ onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
352
+ <div class="method-source-code" id="M000086-source">
353
353
  <pre>
354
354
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 28</span>
355
355
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scan</span>(<span class="ruby-identifier">regexp</span>)
@@ -363,19 +363,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
363
363
  </div>
364
364
  </div>
365
365
 
366
- <div id="method-M000099" class="method-detail">
367
- <a name="M000099"></a>
366
+ <div id="method-M000093" class="method-detail">
367
+ <a name="M000093"></a>
368
368
 
369
369
  <div class="method-heading">
370
- <a href="#M000099" class="method-signature">
370
+ <a href="#M000093" class="method-signature">
371
371
  <span class="method-name">scan_string</span><span class="method-args">()</span>
372
372
  </a>
373
373
  </div>
374
374
 
375
375
  <div class="method-description">
376
376
  <p><a class="source-toggle" href="#"
377
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
378
- <div class="method-source-code" id="M000099-source">
377
+ onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
378
+ <div class="method-source-code" id="M000093-source">
379
379
  <pre>
380
380
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 81</span>
381
381
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scan_string</span>
@@ -422,19 +422,19 @@ base class for <a href="Yaml/Parser.html">Yaml::Parser</a>
422
422
 
423
423
  <h3 class="section-bar">Protected Instance methods</h3>
424
424
 
425
- <div id="method-M000100" class="method-detail">
426
- <a name="M000100"></a>
425
+ <div id="method-M000094" class="method-detail">
426
+ <a name="M000094"></a>
427
427
 
428
428
  <div class="method-heading">
429
- <a href="#M000100" class="method-signature">
429
+ <a href="#M000094" class="method-signature">
430
430
  <span class="method-name">_syntax_error</span><span class="method-args">(message, path=nil, linenum=@linenum, column=@column)</span>
431
431
  </a>
432
432
  </div>
433
433
 
434
434
  <div class="method-description">
435
435
  <p><a class="source-toggle" href="#"
436
- onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
437
- <div class="method-source-code" id="M000100-source">
436
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
437
+ <div class="method-source-code" id="M000094-source">
438
438
  <pre>
439
439
  <span class="ruby-comment cmt"># File kwalify/parser/base.rb, line 120</span>
440
440
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_syntax_error</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">path</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">linenum</span>=<span class="ruby-ivar">@linenum</span>, <span class="ruby-identifier">column</span>=<span class="ruby-ivar">@column</span>)
@@ -88,7 +88,7 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000125">new</a>&nbsp;&nbsp;
91
+ <a href="#M000142">new</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -128,19 +128,19 @@
128
128
  <div id="methods">
129
129
  <h3 class="section-bar">Public Class methods</h3>
130
130
 
131
- <div id="method-M000125" class="method-detail">
132
- <a name="M000125"></a>
131
+ <div id="method-M000142" class="method-detail">
132
+ <a name="M000142"></a>
133
133
 
134
134
  <div class="method-heading">
135
- <a href="#M000125" class="method-signature">
135
+ <a href="#M000142" class="method-signature">
136
136
  <span class="method-name">new</span><span class="method-args">(message, option, error_symbol)</span>
137
137
  </a>
138
138
  </div>
139
139
 
140
140
  <div class="method-description">
141
141
  <p><a class="source-toggle" href="#"
142
- onclick="toggleCode('M000125-source');return false;">[Source]</a></p>
143
- <div class="method-source-code" id="M000125-source">
142
+ onclick="toggleCode('M000142-source');return false;">[Source]</a></p>
143
+ <div class="method-source-code" id="M000142-source">
144
144
  <pre>
145
145
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 18</span>
146
146
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">option</span>, <span class="ruby-identifier">error_symbol</span>)
@@ -106,11 +106,11 @@ ex.
106
106
  <h3 class="section-bar">Methods</h3>
107
107
 
108
108
  <div class="name-list">
109
- <a href="#M000088">_inspect</a>&nbsp;&nbsp;
110
- <a href="#M000087">debug?</a>&nbsp;&nbsp;
111
- <a href="#M000089">execute</a>&nbsp;&nbsp;
112
- <a href="#M000090">main</a>&nbsp;&nbsp;
113
- <a href="#M000086">new</a>&nbsp;&nbsp;
109
+ <a href="#M000078">_inspect</a>&nbsp;&nbsp;
110
+ <a href="#M000077">debug?</a>&nbsp;&nbsp;
111
+ <a href="#M000079">execute</a>&nbsp;&nbsp;
112
+ <a href="#M000080">main</a>&nbsp;&nbsp;
113
+ <a href="#M000076">new</a>&nbsp;&nbsp;
114
114
  </div>
115
115
  </div>
116
116
 
@@ -132,19 +132,19 @@ ex.
132
132
  <div id="methods">
133
133
  <h3 class="section-bar">Public Class methods</h3>
134
134
 
135
- <div id="method-M000090" class="method-detail">
136
- <a name="M000090"></a>
135
+ <div id="method-M000080" class="method-detail">
136
+ <a name="M000080"></a>
137
137
 
138
138
  <div class="method-heading">
139
- <a href="#M000090" class="method-signature">
139
+ <a href="#M000080" class="method-signature">
140
140
  <span class="method-name">main</span><span class="method-args">(command, argv=ARGV)</span>
141
141
  </a>
142
142
  </div>
143
143
 
144
144
  <div class="method-description">
145
145
  <p><a class="source-toggle" href="#"
146
- onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
147
- <div class="method-source-code" id="M000090-source">
146
+ onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
147
+ <div class="method-source-code" id="M000080-source">
148
148
  <pre>
149
149
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 121</span>
150
150
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">main</span>(<span class="ruby-identifier">command</span>, <span class="ruby-identifier">argv</span>=<span class="ruby-constant">ARGV</span>)
@@ -174,19 +174,19 @@ ex.
174
174
  </div>
175
175
  </div>
176
176
 
177
- <div id="method-M000086" class="method-detail">
178
- <a name="M000086"></a>
177
+ <div id="method-M000076" class="method-detail">
178
+ <a name="M000076"></a>
179
179
 
180
180
  <div class="method-heading">
181
- <a href="#M000086" class="method-signature">
181
+ <a href="#M000076" class="method-signature">
182
182
  <span class="method-name">new</span><span class="method-args">(command=nil)</span>
183
183
  </a>
184
184
  </div>
185
185
 
186
186
  <div class="method-description">
187
187
  <p><a class="source-toggle" href="#"
188
- onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
189
- <div class="method-source-code" id="M000086-source">
188
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
189
+ <div class="method-source-code" id="M000076-source">
190
190
  <pre>
191
191
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 45</span>
192
192
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">command</span>=<span class="ruby-keyword kw">nil</span>)
@@ -206,19 +206,19 @@ ex.
206
206
 
207
207
  <h3 class="section-bar">Public Instance methods</h3>
208
208
 
209
- <div id="method-M000088" class="method-detail">
210
- <a name="M000088"></a>
209
+ <div id="method-M000078" class="method-detail">
210
+ <a name="M000078"></a>
211
211
 
212
212
  <div class="method-heading">
213
- <a href="#M000088" class="method-signature">
213
+ <a href="#M000078" class="method-signature">
214
214
  <span class="method-name">_inspect</span><span class="method-args">()</span>
215
215
  </a>
216
216
  </div>
217
217
 
218
218
  <div class="method-description">
219
219
  <p><a class="source-toggle" href="#"
220
- onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
221
- <div class="method-source-code" id="M000088-source">
220
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
221
+ <div class="method-source-code" id="M000078-source">
222
222
  <pre>
223
223
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 62</span>
224
224
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_inspect</span>()
@@ -243,19 +243,19 @@ ex.
243
243
  </div>
244
244
  </div>
245
245
 
246
- <div id="method-M000087" class="method-detail">
247
- <a name="M000087"></a>
246
+ <div id="method-M000077" class="method-detail">
247
+ <a name="M000077"></a>
248
248
 
249
249
  <div class="method-heading">
250
- <a href="#M000087" class="method-signature">
250
+ <a href="#M000077" class="method-signature">
251
251
  <span class="method-name">debug?</span><span class="method-args">()</span>
252
252
  </a>
253
253
  </div>
254
254
 
255
255
  <div class="method-description">
256
256
  <p><a class="source-toggle" href="#"
257
- onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
258
- <div class="method-source-code" id="M000087-source">
257
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
258
+ <div class="method-source-code" id="M000077-source">
259
259
  <pre>
260
260
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 57</span>
261
261
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">debug?</span>
@@ -266,19 +266,19 @@ ex.
266
266
  </div>
267
267
  </div>
268
268
 
269
- <div id="method-M000089" class="method-detail">
270
- <a name="M000089"></a>
269
+ <div id="method-M000079" class="method-detail">
270
+ <a name="M000079"></a>
271
271
 
272
272
  <div class="method-heading">
273
- <a href="#M000089" class="method-signature">
273
+ <a href="#M000079" class="method-signature">
274
274
  <span class="method-name">execute</span><span class="method-args">(argv=ARGV)</span>
275
275
  </a>
276
276
  </div>
277
277
 
278
278
  <div class="method-description">
279
279
  <p><a class="source-toggle" href="#"
280
- onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
281
- <div class="method-source-code" id="M000089-source">
280
+ onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
281
+ <div class="method-source-code" id="M000079-source">
282
282
  <pre>
283
283
  <span class="ruby-comment cmt"># File kwalify/main.rb, line 81</span>
284
284
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">argv</span>=<span class="ruby-constant">ARGV</span>)