my_yard 0.0.3 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +5 -5
  2. data/lib/GlobalSettings.rb +23 -0
  3. data/{src → lib}/MyYard.rb +48 -53
  4. data/{src → lib}/YardTheme.rb +12 -9
  5. data/{src → lib}/glade/MyYard.glade +151 -213
  6. data/{src → lib}/glade/YardTheme.glade +314 -407
  7. data/lib/my_yard.rb +7 -0
  8. data/my_yard +59 -34
  9. metadata +21 -148
  10. data/README.md +0 -25
  11. data/doc/GlobalSettings.html +0 -552
  12. data/doc/MyYard.html +0 -1201
  13. data/doc/TreeContext/Alternator.html +0 -297
  14. data/doc/TreeContext.html +0 -467
  15. data/doc/YardTheme.html +0 -746
  16. data/doc/YardThemeDefaults.html +0 -498
  17. data/doc/_index.html +0 -170
  18. data/doc/class_and_method_list.html +0 -322
  19. data/doc/class_list.html +0 -51
  20. data/doc/css/common.css +0 -45
  21. data/doc/css/full_list.css +0 -58
  22. data/doc/css/style.css +0 -474
  23. data/doc/file.README.html +0 -100
  24. data/doc/file_list.html +0 -56
  25. data/doc/frames.html +0 -17
  26. data/doc/img/logo.png +0 -0
  27. data/doc/index.html +0 -100
  28. data/doc/js/app.js +0 -243
  29. data/doc/js/full_list.js +0 -216
  30. data/doc/js/jquery.js +0 -4
  31. data/doc/just_file_list.html +0 -40
  32. data/doc/method_list.html +0 -843
  33. data/doc/top-level-namespace.html +0 -118
  34. data/home_my_yard/templates/visualruby/class/dot/superklass.erb +0 -3
  35. data/home_my_yard/templates/visualruby/class/html/constructor_details.erb +0 -8
  36. data/home_my_yard/templates/visualruby/class/html/subclasses.erb +0 -4
  37. data/home_my_yard/templates/visualruby/class/text/subclasses.erb +0 -5
  38. data/home_my_yard/templates/visualruby/constant/text/header.erb +0 -11
  39. data/home_my_yard/templates/visualruby/docstring/html/abstract.erb +0 -4
  40. data/home_my_yard/templates/visualruby/docstring/html/deprecated.erb +0 -1
  41. data/home_my_yard/templates/visualruby/docstring/html/index.erb +0 -5
  42. data/home_my_yard/templates/visualruby/docstring/html/note.erb +0 -6
  43. data/home_my_yard/templates/visualruby/docstring/html/private.erb +0 -4
  44. data/home_my_yard/templates/visualruby/docstring/html/returns_void.erb +0 -1
  45. data/home_my_yard/templates/visualruby/docstring/html/text.erb +0 -1
  46. data/home_my_yard/templates/visualruby/docstring/html/todo.erb +0 -6
  47. data/home_my_yard/templates/visualruby/docstring/text/abstract.erb +0 -2
  48. data/home_my_yard/templates/visualruby/docstring/text/deprecated.erb +0 -2
  49. data/home_my_yard/templates/visualruby/docstring/text/index.erb +0 -2
  50. data/home_my_yard/templates/visualruby/docstring/text/note.erb +0 -4
  51. data/home_my_yard/templates/visualruby/docstring/text/private.erb +0 -2
  52. data/home_my_yard/templates/visualruby/docstring/text/returns_void.erb +0 -1
  53. data/home_my_yard/templates/visualruby/docstring/text/text.erb +0 -1
  54. data/home_my_yard/templates/visualruby/docstring/text/todo.erb +0 -4
  55. data/home_my_yard/templates/visualruby/fulldoc/html/class_and_method.erb +0 -42
  56. data/home_my_yard/templates/visualruby/fulldoc/html/css/common.css +0 -1
  57. data/home_my_yard/templates/visualruby/fulldoc/html/css/full_list.css +0 -62
  58. data/home_my_yard/templates/visualruby/fulldoc/html/css/style.css +0 -476
  59. data/home_my_yard/templates/visualruby/fulldoc/html/frames.erb +0 -17
  60. data/home_my_yard/templates/visualruby/fulldoc/html/full_list.erb +0 -37
  61. data/home_my_yard/templates/visualruby/fulldoc/html/full_list_class.erb +0 -2
  62. data/home_my_yard/templates/visualruby/fulldoc/html/full_list_file.erb +0 -7
  63. data/home_my_yard/templates/visualruby/fulldoc/html/full_list_method.erb +0 -10
  64. data/home_my_yard/templates/visualruby/fulldoc/html/js/app.js +0 -243
  65. data/home_my_yard/templates/visualruby/fulldoc/html/js/full_list.js +0 -213
  66. data/home_my_yard/templates/visualruby/fulldoc/html/js/jquery.js +0 -4
  67. data/home_my_yard/templates/visualruby/fulldoc/html/just_files.erb +0 -33
  68. data/home_my_yard/templates/visualruby/layout/dot/header.erb +0 -6
  69. data/home_my_yard/templates/visualruby/layout/html/breadcrumb.erb +0 -11
  70. data/home_my_yard/templates/visualruby/layout/html/files.erb +0 -11
  71. data/home_my_yard/templates/visualruby/layout/html/footer.erb +0 -5
  72. data/home_my_yard/templates/visualruby/layout/html/headers.erb +0 -15
  73. data/home_my_yard/templates/visualruby/layout/html/index.erb +0 -2
  74. data/home_my_yard/templates/visualruby/layout/html/layout.erb +0 -30
  75. data/home_my_yard/templates/visualruby/layout/html/listing.erb +0 -4
  76. data/home_my_yard/templates/visualruby/layout/html/objects.erb +0 -32
  77. data/home_my_yard/templates/visualruby/layout/html/script_setup.erb +0 -4
  78. data/home_my_yard/templates/visualruby/layout/html/search.erb +0 -13
  79. data/home_my_yard/templates/visualruby/method/html/header.erb +0 -17
  80. data/home_my_yard/templates/visualruby/method/text/header.erb +0 -1
  81. data/home_my_yard/templates/visualruby/method_details/html/header.erb +0 -3
  82. data/home_my_yard/templates/visualruby/method_details/html/method_signature.erb +0 -25
  83. data/home_my_yard/templates/visualruby/method_details/html/source.erb +0 -10
  84. data/home_my_yard/templates/visualruby/method_details/text/header.erb +0 -10
  85. data/home_my_yard/templates/visualruby/method_details/text/method_signature.erb +0 -12
  86. data/home_my_yard/templates/visualruby/module/dot/child.erb +0 -1
  87. data/home_my_yard/templates/visualruby/module/dot/dependencies.erb +0 -3
  88. data/home_my_yard/templates/visualruby/module/dot/header.erb +0 -6
  89. data/home_my_yard/templates/visualruby/module/dot/info.erb +0 -14
  90. data/home_my_yard/templates/visualruby/module/html/attribute_details.erb +0 -10
  91. data/home_my_yard/templates/visualruby/module/html/attribute_summary.erb +0 -8
  92. data/home_my_yard/templates/visualruby/module/html/box_info.erb +0 -43
  93. data/home_my_yard/templates/visualruby/module/html/children.erb +0 -8
  94. data/home_my_yard/templates/visualruby/module/html/constant_summary.erb +0 -13
  95. data/home_my_yard/templates/visualruby/module/html/defines.erb +0 -3
  96. data/home_my_yard/templates/visualruby/module/html/header.erb +0 -5
  97. data/home_my_yard/templates/visualruby/module/html/inherited_attributes.erb +0 -14
  98. data/home_my_yard/templates/visualruby/module/html/inherited_constants.erb +0 -8
  99. data/home_my_yard/templates/visualruby/module/html/inherited_methods.erb +0 -19
  100. data/home_my_yard/templates/visualruby/module/html/item_summary.erb +0 -40
  101. data/home_my_yard/templates/visualruby/module/html/method_details_list.erb +0 -9
  102. data/home_my_yard/templates/visualruby/module/html/method_summary.erb +0 -14
  103. data/home_my_yard/templates/visualruby/module/html/methodmissing.erb +0 -12
  104. data/home_my_yard/templates/visualruby/module/html/pre_docstring.erb +0 -1
  105. data/home_my_yard/templates/visualruby/module/text/children.erb +0 -10
  106. data/home_my_yard/templates/visualruby/module/text/class_meths_list.erb +0 -8
  107. data/home_my_yard/templates/visualruby/module/text/extends.erb +0 -8
  108. data/home_my_yard/templates/visualruby/module/text/header.erb +0 -7
  109. data/home_my_yard/templates/visualruby/module/text/includes.erb +0 -8
  110. data/home_my_yard/templates/visualruby/module/text/instance_meths_list.erb +0 -8
  111. data/home_my_yard/templates/visualruby/onefile/html/files.erb +0 -5
  112. data/home_my_yard/templates/visualruby/onefile/html/headers.erb +0 -6
  113. data/home_my_yard/templates/visualruby/onefile/html/layout.erb +0 -17
  114. data/home_my_yard/templates/visualruby/onefile/html/readme.erb +0 -3
  115. data/home_my_yard/templates/visualruby/root/dot/child.erb +0 -3
  116. data/home_my_yard/templates/visualruby/tags/html/example.erb +0 -11
  117. data/home_my_yard/templates/visualruby/tags/html/index.erb +0 -3
  118. data/home_my_yard/templates/visualruby/tags/html/option.erb +0 -24
  119. data/home_my_yard/templates/visualruby/tags/html/overload.erb +0 -14
  120. data/home_my_yard/templates/visualruby/tags/html/see.erb +0 -8
  121. data/home_my_yard/templates/visualruby/tags/html/tag.erb +0 -20
  122. data/home_my_yard/templates/visualruby/tags/text/example.erb +0 -12
  123. data/home_my_yard/templates/visualruby/tags/text/index.erb +0 -1
  124. data/home_my_yard/templates/visualruby/tags/text/option.erb +0 -20
  125. data/home_my_yard/templates/visualruby/tags/text/overload.erb +0 -19
  126. data/home_my_yard/templates/visualruby/tags/text/see.erb +0 -11
  127. data/home_my_yard/templates/visualruby/tags/text/tag.erb +0 -13
  128. data/home_my_yard/themes/visualruby.yaml +0 -47
  129. data/my_yard-0.0.2.gem +0 -0
  130. data/my_yard.gemspec +0 -20
  131. data/notes +0 -9
  132. data/src/GlobalSettings.rb +0 -22
  133. data/src/glade/MyYard.glade~ +0 -611
  134. data/src/glade/YardTheme.glade~ +0 -1062
  135. /data/{src → lib}/YardThemeDefaults.rb +0 -0
data/doc/MyYard.html DELETED
@@ -1,1201 +0,0 @@
1
- <!DOCTYPE html>
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: MyYard
8
-
9
- &mdash; Generated with Yard v0.9.0
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "MyYard";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
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
-
41
-
42
- <span class="title">MyYard</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>
60
- </div>
61
-
62
- <iframe id="search_frame" src="class_list.html"></iframe>
63
-
64
- <div id="content"><h1>Class: MyYard
65
-
66
-
67
-
68
- </h1>
69
- <div class="box_info">
70
-
71
- <dl>
72
- <dt>Inherits:</dt>
73
- <dd>
74
- <span class="inheritName">Object</span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next">MyYard</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
- <dl>
93
- <dt>Includes:</dt>
94
- <dd>GladeGUI</dd>
95
- </dl>
96
-
97
-
98
-
99
-
100
-
101
-
102
- <dl>
103
- <dt>Defined in:</dt>
104
- <dd>src/MyYard.rb</dd>
105
- </dl>
106
-
107
- </div>
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <h2>
118
- Instance Method Summary
119
- <small><a href="#" class="summary_toggle">collapse</a></small>
120
- </h2>
121
-
122
- <ul class="summary">
123
-
124
- <li class="public ">
125
- <span class="summary_signature">
126
-
127
- <a href="#before_show-instance_method" title="#before_show (instance method)">#<strong>before_show</strong> &#x21d2; Object </a>
128
-
129
-
130
-
131
- </span>
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- <span class="summary_desc"><div class='inline'></div></span>
142
-
143
- </li>
144
-
145
-
146
- <li class="public ">
147
- <span class="summary_signature">
148
-
149
- <a href="#buttonBrowse__clicked-instance_method" title="#buttonBrowse__clicked (instance method)">#<strong>buttonBrowse__clicked</strong>(*a) &#x21d2; Object </a>
150
-
151
-
152
-
153
- </span>
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <span class="summary_desc"><div class='inline'></div></span>
164
-
165
- </li>
166
-
167
-
168
- <li class="public ">
169
- <span class="summary_signature">
170
-
171
- <a href="#buttonCancel__clicked-instance_method" title="#buttonCancel__clicked (instance method)">#<strong>buttonCancel__clicked</strong>(*a) &#x21d2; Object </a>
172
-
173
-
174
-
175
- </span>
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
- <span class="summary_desc"><div class='inline'></div></span>
186
-
187
- </li>
188
-
189
-
190
- <li class="public ">
191
- <span class="summary_signature">
192
-
193
- <a href="#buttonDeleteProject__clicked-instance_method" title="#buttonDeleteProject__clicked (instance method)">#<strong>buttonDeleteProject__clicked</strong>(*a) &#x21d2; Object </a>
194
-
195
-
196
-
197
- </span>
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
- <span class="summary_desc"><div class='inline'></div></span>
208
-
209
- </li>
210
-
211
-
212
- <li class="public ">
213
- <span class="summary_signature">
214
-
215
- <a href="#buttonDeleteTheme__clicked-instance_method" title="#buttonDeleteTheme__clicked (instance method)">#<strong>buttonDeleteTheme__clicked</strong>(*a) &#x21d2; Object </a>
216
-
217
-
218
-
219
- </span>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
- <span class="summary_desc"><div class='inline'></div></span>
230
-
231
- </li>
232
-
233
-
234
- <li class="public ">
235
- <span class="summary_signature">
236
-
237
- <a href="#buttonEditTheme__clicked-instance_method" title="#buttonEditTheme__clicked (instance method)">#<strong>buttonEditTheme__clicked</strong>(*a) &#x21d2; Object </a>
238
-
239
-
240
-
241
- </span>
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
- <span class="summary_desc"><div class='inline'></div></span>
252
-
253
- </li>
254
-
255
-
256
- <li class="public ">
257
- <span class="summary_signature">
258
-
259
- <a href="#buttonGenerate__clicked-instance_method" title="#buttonGenerate__clicked (instance method)">#<strong>buttonGenerate__clicked</strong>(*args) &#x21d2; Object </a>
260
-
261
-
262
-
263
- </span>
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
- <span class="summary_desc"><div class='inline'></div></span>
274
-
275
- </li>
276
-
277
-
278
- <li class="public ">
279
- <span class="summary_signature">
280
-
281
- <a href="#buttonOpenProject__clicked-instance_method" title="#buttonOpenProject__clicked (instance method)">#<strong>buttonOpenProject__clicked</strong>(*a) &#x21d2; Object </a>
282
-
283
-
284
-
285
- </span>
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
- <span class="summary_desc"><div class='inline'></div></span>
296
-
297
- </li>
298
-
299
-
300
- <li class="public ">
301
- <span class="summary_signature">
302
-
303
- <a href="#defaults-instance_method" title="#defaults (instance method)">#<strong>defaults</strong> &#x21d2; Object </a>
304
-
305
-
306
-
307
- </span>
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
- <span class="summary_desc"><div class='inline'></div></span>
318
-
319
- </li>
320
-
321
-
322
- <li class="public ">
323
- <span class="summary_signature">
324
-
325
- <a href="#fill_combo_boxes-instance_method" title="#fill_combo_boxes (instance method)">#<strong>fill_combo_boxes</strong> &#x21d2; Object </a>
326
-
327
-
328
-
329
- </span>
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
- <span class="summary_desc"><div class='inline'></div></span>
340
-
341
- </li>
342
-
343
-
344
- <li class="public ">
345
- <span class="summary_signature">
346
-
347
- <a href="#fill_themes-instance_method" title="#fill_themes (instance method)">#<strong>fill_themes</strong> &#x21d2; Object </a>
348
-
349
-
350
-
351
- </span>
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
- <span class="summary_desc"><div class='inline'></div></span>
362
-
363
- </li>
364
-
365
-
366
- <li class="public ">
367
- <span class="summary_signature">
368
-
369
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; MyYard </a>
370
-
371
-
372
-
373
- </span>
374
-
375
-
376
- <span class="note title constructor">constructor</span>
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
- <span class="summary_desc"><div class='inline'>
386
- <p>A new instance of MyYard.</p>
387
- </div></span>
388
-
389
- </li>
390
-
391
-
392
- <li class="public ">
393
- <span class="summary_signature">
394
-
395
- <a href="#project_root__changed-instance_method" title="#project_root__changed (instance method)">#<strong>project_root__changed</strong>(*a) &#x21d2; Object </a>
396
-
397
-
398
-
399
- </span>
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
- <span class="summary_desc"><div class='inline'></div></span>
410
-
411
- </li>
412
-
413
-
414
- <li class="public ">
415
- <span class="summary_signature">
416
-
417
- <a href="#save_state-instance_method" title="#save_state (instance method)">#<strong>save_state</strong> &#x21d2; Object </a>
418
-
419
-
420
-
421
- </span>
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
- <span class="summary_desc"><div class='inline'></div></span>
432
-
433
- </li>
434
-
435
-
436
- <li class="public ">
437
- <span class="summary_signature">
438
-
439
- <a href="#window1__delete_event-instance_method" title="#window1__delete_event (instance method)">#<strong>window1__delete_event</strong>(*a) &#x21d2; Object </a>
440
-
441
-
442
-
443
- </span>
444
-
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
- <span class="summary_desc"><div class='inline'></div></span>
454
-
455
- </li>
456
-
457
-
458
- </ul>
459
-
460
-
461
-
462
- <div id="constructor_details" class="method_details_list">
463
- <h2>Constructor Details</h2>
464
-
465
- <div class="method_details first">
466
- <h3 class="signature first" id="initialize-instance_method">
467
-
468
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="MyYard (class)">MyYard</a></span></tt>
469
-
470
-
471
-
472
-
473
-
474
- </h3><div class="docstring">
475
- <div class="discussion">
476
-
477
- <p>Returns a new instance of MyYard</p>
478
-
479
-
480
- </div>
481
- </div>
482
- <div class="tags">
483
-
484
-
485
- </div><table class="source_code">
486
- <tr>
487
- <td>
488
- <pre class="lines">
489
-
490
-
491
- 6
492
- 7
493
- 8</pre>
494
- </td>
495
- <td>
496
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 6</span>
497
-
498
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
499
- <span class='id identifier rubyid_defaults'>defaults</span>
500
- <span class='kw'>end</span></pre>
501
- </td>
502
- </tr>
503
- </table>
504
- </div>
505
-
506
- </div>
507
-
508
-
509
- <div id="instance_method_details" class="method_details_list">
510
- <h2>Instance Method Details</h2>
511
-
512
-
513
- <div class="method_details first">
514
- <h3 class="signature first" id="before_show-instance_method">
515
-
516
- #<strong>before_show</strong> &#x21d2; <tt>Object</tt>
517
-
518
-
519
-
520
-
521
-
522
- </h3><table class="source_code">
523
- <tr>
524
- <td>
525
- <pre class="lines">
526
-
527
-
528
- 28
529
- 29
530
- 30</pre>
531
- </td>
532
- <td>
533
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 28</span>
534
-
535
- <span class='kw'>def</span> <span class='id identifier rubyid_before_show'>before_show</span><span class='lparen'>(</span><span class='rparen'>)</span>
536
- <span class='id identifier rubyid_fill_combo_boxes'>fill_combo_boxes</span>
537
- <span class='kw'>end</span></pre>
538
- </td>
539
- </tr>
540
- </table>
541
- </div>
542
-
543
- <div class="method_details ">
544
- <h3 class="signature " id="buttonBrowse__clicked-instance_method">
545
-
546
- #<strong>buttonBrowse__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
547
-
548
-
549
-
550
-
551
-
552
- </h3><table class="source_code">
553
- <tr>
554
- <td>
555
- <pre class="lines">
556
-
557
-
558
- 138
559
- 139
560
- 140
561
- 141
562
- 142
563
- 143
564
- 144
565
- 145
566
- 146
567
- 147
568
- 148</pre>
569
- </td>
570
- <td>
571
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 138</span>
572
-
573
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonBrowse__clicked'>buttonBrowse__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
574
- <span class='id identifier rubyid_save_state'>save_state</span>
575
- <span class='kw'>begin</span>
576
- <span class='const'>IO</span><span class='period'>.</span><span class='id identifier rubyid_popen'>popen</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_browser'>browser</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='comma'>,</span> <span class='ivar'>@output_dir</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>index.html</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
577
- <span class='kw'>rescue</span>
578
- <span class='kw'>if</span> <span class='id identifier rubyid_answer'>answer</span> <span class='op'>=</span> <span class='id identifier rubyid_alert'>alert</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Enter command to start your browser:</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>parent:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>input_text:</span> <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_browser'>browser</span><span class='rparen'>)</span>
579
- <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_browser'>browser</span> <span class='op'>=</span> <span class='id identifier rubyid_answer'>answer</span>
580
- <span class='const'>VR</span><span class='op'>::</span><span class='id identifier rubyid_save_yaml'>save_yaml</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='rparen'>)</span>
581
- <span class='kw'>end</span>
582
- <span class='kw'>end</span>
583
- <span class='kw'>end</span></pre>
584
- </td>
585
- </tr>
586
- </table>
587
- </div>
588
-
589
- <div class="method_details ">
590
- <h3 class="signature " id="buttonCancel__clicked-instance_method">
591
-
592
- #<strong>buttonCancel__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
593
-
594
-
595
-
596
-
597
-
598
- </h3><table class="source_code">
599
- <tr>
600
- <td>
601
- <pre class="lines">
602
-
603
-
604
- 182
605
- 183
606
- 184
607
- 185
608
- 186</pre>
609
- </td>
610
- <td>
611
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 182</span>
612
-
613
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonCancel__clicked'>buttonCancel__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
614
- <span class='id identifier rubyid_save_state'>save_state</span>
615
- <span class='gvar'>$open_project</span> <span class='op'>=</span> <span class='symbol'>:exit</span>
616
- <span class='kw'>super</span>
617
- <span class='kw'>end</span></pre>
618
- </td>
619
- </tr>
620
- </table>
621
- </div>
622
-
623
- <div class="method_details ">
624
- <h3 class="signature " id="buttonDeleteProject__clicked-instance_method">
625
-
626
- #<strong>buttonDeleteProject__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
627
-
628
-
629
-
630
-
631
-
632
- </h3><table class="source_code">
633
- <tr>
634
- <td>
635
- <pre class="lines">
636
-
637
-
638
- 150
639
- 151
640
- 152
641
- 153
642
- 154
643
- 155
644
- 156
645
- 157
646
- 158
647
- 159
648
- 160
649
- 161
650
- 162</pre>
651
- </td>
652
- <td>
653
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 150</span>
654
-
655
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonDeleteProject__clicked'>buttonDeleteProject__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
656
- <span class='kw'>if</span> <span class='id identifier rubyid_alert'>alert</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>This will delete this project:\n&lt;b&gt;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@project_root</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/b&gt;\nDo you want to continue?</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
657
- <span class='label'>button_yes:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Delete</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
658
- <span class='label'>button_no:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Cancel</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
659
- <span class='label'>parent:</span> <span class='kw'>self</span><span class='comma'>,</span>
660
- <span class='label'>headline:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Delete This Project?</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
661
- <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_projects'>projects</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='rparen'>)</span>
662
- <span class='const'>VR</span><span class='op'>::</span><span class='id identifier rubyid_save_yaml'>save_yaml</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='rparen'>)</span>
663
- <span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_rm_rf'>rm_rf</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.yardoc</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>my_yard.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
664
- <span class='gvar'>$open_project</span> <span class='op'>=</span> <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_projects'>projects</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='symbol'>:exit</span> <span class='op'>:</span> <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_projects'>projects</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
665
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:window1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_destroy'>destroy</span>
666
- <span class='kw'>end</span>
667
- <span class='kw'>end</span></pre>
668
- </td>
669
- </tr>
670
- </table>
671
- </div>
672
-
673
- <div class="method_details ">
674
- <h3 class="signature " id="buttonDeleteTheme__clicked-instance_method">
675
-
676
- #<strong>buttonDeleteTheme__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
677
-
678
-
679
-
680
-
681
-
682
- </h3><table class="source_code">
683
- <tr>
684
- <td>
685
- <pre class="lines">
686
-
687
-
688
- 164
689
- 165
690
- 166
691
- 167
692
- 168
693
- 169
694
- 170
695
- 171
696
- 172
697
- 173
698
- 174</pre>
699
- </td>
700
- <td>
701
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 164</span>
702
-
703
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonDeleteTheme__clicked'>buttonDeleteTheme__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
704
- <span class='id identifier rubyid_get_glade_variables'>get_glade_variables</span>
705
- <span class='kw'>return</span> <span class='kw'>if</span> <span class='ivar'>@theme</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
706
- <span class='kw'>if</span> <span class='id identifier rubyid_alert'>alert</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Delete theme: &lt;b&gt;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@theme</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;/b&gt;?</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>parent:</span><span class='kw'>self</span><span class='comma'>,</span> <span class='label'>button_no:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Cancel</span><span class='tstring_end'>&quot;</span></span>
707
- <span class='id identifier rubyid_theme'>theme</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_theme_root'>theme_root</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@theme</span><span class='embexpr_end'>}</span><span class='tstring_content'>.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
708
- <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_theme'>theme</span><span class='rparen'>)</span>
709
- <span class='ivar'>@theme</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
710
- <span class='id identifier rubyid_fill_themes'>fill_themes</span>
711
- <span class='id identifier rubyid_set_glade_variables'>set_glade_variables</span>
712
- <span class='kw'>end</span>
713
- <span class='kw'>end</span></pre>
714
- </td>
715
- </tr>
716
- </table>
717
- </div>
718
-
719
- <div class="method_details ">
720
- <h3 class="signature " id="buttonEditTheme__clicked-instance_method">
721
-
722
- #<strong>buttonEditTheme__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
723
-
724
-
725
-
726
-
727
-
728
- </h3><table class="source_code">
729
- <tr>
730
- <td>
731
- <pre class="lines">
732
-
733
-
734
- 116
735
- 117
736
- 118
737
- 119
738
- 120
739
- 121
740
- 122
741
- 123</pre>
742
- </td>
743
- <td>
744
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 116</span>
745
-
746
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonEditTheme__clicked'>buttonEditTheme__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
747
- <span class='id identifier rubyid_get_glade_variables'>get_glade_variables</span>
748
- <span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_theme_root'>theme_root</span><span class='comma'>,</span> <span class='ivar'>@theme</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
749
- <span class='id identifier rubyid_win'>win</span> <span class='op'>=</span> <span class='const'>VR</span><span class='op'>::</span><span class='id identifier rubyid_load_yaml'>load_yaml</span><span class='lparen'>(</span><span class='const'>YardTheme</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span>
750
- <span class='id identifier rubyid_win'>win</span><span class='period'>.</span><span class='id identifier rubyid_show_glade'>show_glade</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
751
- <span class='id identifier rubyid_fill_themes'>fill_themes</span>
752
- <span class='id identifier rubyid_set_glade_variables'>set_glade_variables</span> <span class='comment'># select theme again
753
- </span><span class='kw'>end</span></pre>
754
- </td>
755
- </tr>
756
- </table>
757
- </div>
758
-
759
- <div class="method_details ">
760
- <h3 class="signature " id="buttonGenerate__clicked-instance_method">
761
-
762
- #<strong>buttonGenerate__clicked</strong>(*args) &#x21d2; <tt>Object</tt>
763
-
764
-
765
-
766
-
767
-
768
- </h3><table class="source_code">
769
- <tr>
770
- <td>
771
- <pre class="lines">
772
-
773
-
774
- 32
775
- 33
776
- 34
777
- 35
778
- 36
779
- 37
780
- 38
781
- 39
782
- 40
783
- 41
784
- 42
785
- 43
786
- 44
787
- 45
788
- 46
789
- 47
790
- 48
791
- 49
792
- 50
793
- 51
794
- 52
795
- 53
796
- 54
797
- 55
798
- 56
799
- 57
800
- 58
801
- 59
802
- 60
803
- 61
804
- 62
805
- 63
806
- 64
807
- 65
808
- 66
809
- 67
810
- 68
811
- 69
812
- 70
813
- 71
814
- 72
815
- 73
816
- 74
817
- 75
818
- 76
819
- 77
820
- 78
821
- 79
822
- 80
823
- 81
824
- 82
825
- 83
826
- 84
827
- 85
828
- 86</pre>
829
- </td>
830
- <td>
831
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 32</span>
832
-
833
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonGenerate__clicked'>buttonGenerate__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
834
- <span class='id identifier rubyid_save_state'>save_state</span>
835
- <span class='id identifier rubyid_args'>args</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
836
- <span class='ivar'>@files</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_glob'>glob</span><span class='op'>|</span> <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_glob'>glob</span> <span class='rbrace'>}</span>
837
- <span class='kw'>if</span> <span class='ivar'>@extra_files</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
838
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--files</span><span class='tstring_end'>&quot;</span></span>
839
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@extra_files</span>
840
- <span class='kw'>end</span>
841
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--private</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@include_private</span>
842
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--no-public</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='op'>!</span><span class='ivar'>@include_public</span>
843
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--protected</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@include_protected</span>
844
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--no-private</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='op'>!</span><span class='ivar'>@include_private_tag</span>
845
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--output-dir</span><span class='tstring_end'>&quot;</span></span>
846
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@output_dir</span>
847
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--title</span><span class='tstring_end'>&quot;</span></span>
848
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@title</span>
849
- <span class='kw'>if</span> <span class='ivar'>@exclude</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
850
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--exclude</span><span class='tstring_end'>&quot;</span></span>
851
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@exclude</span>
852
- <span class='kw'>end</span>
853
- <span class='kw'>if</span> <span class='ivar'>@main</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
854
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--main</span><span class='tstring_end'>&quot;</span></span>
855
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@main</span>
856
- <span class='kw'>end</span>
857
- <span class='kw'>if</span> <span class='ivar'>@template</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
858
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--template-path</span><span class='tstring_end'>&quot;</span></span>
859
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_template_root'>template_root</span>
860
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--template</span><span class='tstring_end'>&quot;</span></span>
861
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@template</span>
862
- <span class='kw'>end</span>
863
- <span class='kw'>if</span> <span class='ivar'>@export_db</span> <span class='kw'>and</span> <span class='ivar'>@export_db_path</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
864
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--db</span><span class='tstring_end'>&quot;</span></span>
865
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='ivar'>@export_db_path</span>
866
- <span class='kw'>else</span>
867
- <span class='id identifier rubyid_args'>args</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--no-save</span><span class='tstring_end'>&quot;</span></span>
868
- <span class='kw'>end</span>
869
- <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_directory?'>directory?</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='rparen'>)</span> <span class='kw'>and</span> <span class='ivar'>@project_root</span> <span class='op'>!=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>HOME</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
870
- <span class='const'>YARD</span><span class='op'>::</span><span class='const'>Registry</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
871
- <span class='comment'># YARD::Templates::ErbCache.clear!
872
- </span> <span class='id identifier rubyid_old_dir'>old_dir</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_pwd'>pwd</span>
873
- <span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_cd'>cd</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='rparen'>)</span>
874
- <span class='const'>YARD</span><span class='op'>::</span><span class='const'>CLI</span><span class='op'>::</span><span class='const'>Yardoc</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
875
- <span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_cd'>cd</span><span class='lparen'>(</span><span class='id identifier rubyid_old_dir'>old_dir</span><span class='rparen'>)</span>
876
- <span class='kw'>else</span>
877
- <span class='id identifier rubyid_alert'>alert</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Invalid Project Folder.</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>parent:</span> <span class='kw'>self</span>
878
- <span class='kw'>end</span>
879
- <span class='kw'>if</span> <span class='ivar'>@theme</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
880
- <span class='id identifier rubyid_css'>css</span> <span class='op'>=</span> <span class='const'>VR</span><span class='op'>::</span><span class='id identifier rubyid_load_yaml'>load_yaml</span><span class='lparen'>(</span><span class='const'>YardTheme</span><span class='comma'>,</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_theme_root'>theme_root</span><span class='comma'>,</span> <span class='ivar'>@theme</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
881
- <span class='id identifier rubyid_css'>css</span><span class='period'>.</span><span class='id identifier rubyid_export_to'>export_to</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='comma'>,</span> <span class='ivar'>@output_dir</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>css</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>common.css</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
882
- <span class='comment'># $default_theme.export_to(File.join(@project_root, @output_dir, &quot;css&quot;, &quot;common.css&quot;))
883
- </span> <span class='kw'>else</span>
884
- <span class='id identifier rubyid_css'>css</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='ivar'>@project_root</span><span class='comma'>,</span> <span class='ivar'>@output_dir</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>css</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>common.css</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
885
- <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_css'>css</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_css'>css</span><span class='rparen'>)</span>
886
- <span class='kw'>end</span>
887
- <span class='kw'>end</span></pre>
888
- </td>
889
- </tr>
890
- </table>
891
- </div>
892
-
893
- <div class="method_details ">
894
- <h3 class="signature " id="buttonOpenProject__clicked-instance_method">
895
-
896
- #<strong>buttonOpenProject__clicked</strong>(*a) &#x21d2; <tt>Object</tt>
897
-
898
-
899
-
900
-
901
-
902
- </h3><table class="source_code">
903
- <tr>
904
- <td>
905
- <pre class="lines">
906
-
907
-
908
- 125
909
- 126
910
- 127
911
- 128
912
- 129
913
- 130
914
- 131
915
- 132
916
- 133
917
- 134
918
- 135
919
- 136</pre>
920
- </td>
921
- <td>
922
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 125</span>
923
-
924
- <span class='kw'>def</span> <span class='id identifier rubyid_buttonOpenProject__clicked'>buttonOpenProject__clicked</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
925
- <span class='kw'>if</span> <span class='id identifier rubyid_folder'>folder</span> <span class='op'>=</span> <span class='id identifier rubyid_alert'>alert</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Enter folder to open:</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
926
- <span class='label'>parent:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>input_text:</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_home'>home</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
927
- <span class='label'>headline:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Open Folder</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>button_yes:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Open</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
928
- <span class='label'>button_no:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Cancel</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
929
- <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_directory?'>directory?</span><span class='lparen'>(</span><span class='id identifier rubyid_folder'>folder</span><span class='rparen'>)</span>
930
- <span class='id identifier rubyid_save_state'>save_state</span>
931
- <span class='gvar'>$open_project</span> <span class='op'>=</span> <span class='id identifier rubyid_folder'>folder</span>
932
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:window1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_destroy'>destroy</span>
933
- <span class='kw'>end</span>
934
- <span class='kw'>end</span>
935
- <span class='kw'>end</span></pre>
936
- </td>
937
- </tr>
938
- </table>
939
- </div>
940
-
941
- <div class="method_details ">
942
- <h3 class="signature " id="defaults-instance_method">
943
-
944
- #<strong>defaults</strong> &#x21d2; <tt>Object</tt>
945
-
946
-
947
-
948
-
949
-
950
- </h3><table class="source_code">
951
- <tr>
952
- <td>
953
- <pre class="lines">
954
-
955
-
956
- 10
957
- 11
958
- 12
959
- 13
960
- 14
961
- 15
962
- 16
963
- 17
964
- 18
965
- 19
966
- 20
967
- 21
968
- 22
969
- 23
970
- 24
971
- 25
972
- 26</pre>
973
- </td>
974
- <td>
975
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 10</span>
976
-
977
- <span class='kw'>def</span> <span class='id identifier rubyid_defaults'>defaults</span>
978
- <span class='ivar'>@project_root</span> <span class='op'>=</span> <span class='gvar'>$open_project</span>
979
- <span class='ivar'>@output_dir</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>doc</span><span class='tstring_end'>&quot;</span></span>
980
- <span class='ivar'>@theme</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@theme</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='op'>!</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_theme_root'>theme_root</span><span class='comma'>,</span> <span class='ivar'>@theme</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
981
- <span class='ivar'>@template</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
982
- <span class='ivar'>@files</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*/**/*.rb */**/*.c</span><span class='tstring_end'>&quot;</span></span>
983
- <span class='ivar'>@extra_files</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*/**/*.md</span><span class='tstring_end'>&quot;</span></span>
984
- <span class='ivar'>@exclude</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
985
- <span class='ivar'>@include_public</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@include_public</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='comment'># ||= no good on this one
986
- </span> <span class='ivar'>@include_private</span> <span class='op'>||=</span> <span class='kw'>false</span>
987
- <span class='ivar'>@include_protected</span> <span class='op'>||=</span> <span class='kw'>false</span>
988
- <span class='ivar'>@include_private_tag</span> <span class='op'>||=</span> <span class='kw'>false</span>
989
- <span class='ivar'>@title</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Generated with Yard v0.9.0</span><span class='tstring_end'>&quot;</span></span>
990
- <span class='ivar'>@main</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>README.md</span><span class='tstring_end'>&quot;</span></span>
991
- <span class='ivar'>@export_db</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@export_db</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
992
- <span class='ivar'>@export_db_path</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.yardoc</span><span class='tstring_end'>&quot;</span></span>
993
- <span class='kw'>end</span></pre>
994
- </td>
995
- </tr>
996
- </table>
997
- </div>
998
-
999
- <div class="method_details ">
1000
- <h3 class="signature " id="fill_combo_boxes-instance_method">
1001
-
1002
- #<strong>fill_combo_boxes</strong> &#x21d2; <tt>Object</tt>
1003
-
1004
-
1005
-
1006
-
1007
-
1008
- </h3><table class="source_code">
1009
- <tr>
1010
- <td>
1011
- <pre class="lines">
1012
-
1013
-
1014
- 96
1015
- 97
1016
- 98
1017
- 99
1018
- 100
1019
- 101
1020
- 102
1021
- 103
1022
- 104
1023
- 105
1024
- 106</pre>
1025
- </td>
1026
- <td>
1027
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 96</span>
1028
-
1029
- <span class='kw'>def</span> <span class='id identifier rubyid_fill_combo_boxes'>fill_combo_boxes</span><span class='lparen'>(</span><span class='rparen'>)</span>
1030
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:template</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_append_text'>append_text</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>default</span><span class='tstring_end'>&quot;</span></span>
1031
- <span class='id identifier rubyid_glob'>glob</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_template_root'>template_root</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1032
- <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span><span class='lparen'>(</span><span class='id identifier rubyid_glob'>glob</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
1033
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:template</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_append_text'>append_text</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
1034
- <span class='kw'>end</span>
1035
- <span class='id identifier rubyid_fill_themes'>fill_themes</span>
1036
- <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_projects'>projects</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
1037
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:project_root</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_append_text'>append_text</span> <span class='id identifier rubyid_path'>path</span>
1038
- <span class='kw'>end</span>
1039
- <span class='kw'>end</span></pre>
1040
- </td>
1041
- </tr>
1042
- </table>
1043
- </div>
1044
-
1045
- <div class="method_details ">
1046
- <h3 class="signature " id="fill_themes-instance_method">
1047
-
1048
- #<strong>fill_themes</strong> &#x21d2; <tt>Object</tt>
1049
-
1050
-
1051
-
1052
-
1053
-
1054
- </h3><table class="source_code">
1055
- <tr>
1056
- <td>
1057
- <pre class="lines">
1058
-
1059
-
1060
- 108
1061
- 109
1062
- 110
1063
- 111
1064
- 112
1065
- 113
1066
- 114</pre>
1067
- </td>
1068
- <td>
1069
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 108</span>
1070
-
1071
- <span class='kw'>def</span> <span class='id identifier rubyid_fill_themes'>fill_themes</span><span class='lparen'>(</span><span class='rparen'>)</span>
1072
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:theme</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
1073
- <span class='id identifier rubyid_glob'>glob</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_theme_root'>theme_root</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>*.yaml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1074
- <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span><span class='lparen'>(</span><span class='id identifier rubyid_glob'>glob</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
1075
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:theme</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_append_text'>append_text</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_basename'>basename</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>.*</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1076
- <span class='kw'>end</span>
1077
- <span class='kw'>end</span></pre>
1078
- </td>
1079
- </tr>
1080
- </table>
1081
- </div>
1082
-
1083
- <div class="method_details ">
1084
- <h3 class="signature " id="project_root__changed-instance_method">
1085
-
1086
- #<strong>project_root__changed</strong>(*a) &#x21d2; <tt>Object</tt>
1087
-
1088
-
1089
-
1090
-
1091
-
1092
- </h3><table class="source_code">
1093
- <tr>
1094
- <td>
1095
- <pre class="lines">
1096
-
1097
-
1098
- 88
1099
- 89
1100
- 90
1101
- 91
1102
- 92
1103
- 93
1104
- 94</pre>
1105
- </td>
1106
- <td>
1107
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 88</span>
1108
-
1109
- <span class='kw'>def</span> <span class='id identifier rubyid_project_root__changed'>project_root__changed</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
1110
- <span class='kw'>return</span> <span class='kw'>unless</span> <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:project_root</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span> <span class='op'>==</span> <span class='gvar'>$env</span><span class='period'>.</span><span class='id identifier rubyid_projects'>projects</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span>
1111
- <span class='kw'>return</span> <span class='kw'>if</span> <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:project_root</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_active_text'>active_text</span> <span class='op'>==</span> <span class='gvar'>$open_project</span>
1112
- <span class='id identifier rubyid_save_state'>save_state</span>
1113
- <span class='gvar'>$open_project</span> <span class='op'>=</span> <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:project_root</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_active_text'>active_text</span>
1114
- <span class='ivar'>@builder</span><span class='lbracket'>[</span><span class='symbol'>:window1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_destroy'>destroy</span>
1115
- <span class='kw'>end</span></pre>
1116
- </td>
1117
- </tr>
1118
- </table>
1119
- </div>
1120
-
1121
- <div class="method_details ">
1122
- <h3 class="signature " id="save_state-instance_method">
1123
-
1124
- #<strong>save_state</strong> &#x21d2; <tt>Object</tt>
1125
-
1126
-
1127
-
1128
-
1129
-
1130
- </h3><table class="source_code">
1131
- <tr>
1132
- <td>
1133
- <pre class="lines">
1134
-
1135
-
1136
- 189
1137
- 190
1138
- 191
1139
- 192
1140
- 193</pre>
1141
- </td>
1142
- <td>
1143
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 189</span>
1144
-
1145
- <span class='kw'>def</span> <span class='id identifier rubyid_save_state'>save_state</span>
1146
- <span class='id identifier rubyid_get_glade_variables'>get_glade_variables</span>
1147
- <span class='ivar'>@project_root</span> <span class='op'>=</span> <span class='gvar'>$open_project</span>
1148
- <span class='const'>VR</span><span class='op'>::</span><span class='id identifier rubyid_save_yaml'>save_yaml</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
1149
- <span class='kw'>end</span></pre>
1150
- </td>
1151
- </tr>
1152
- </table>
1153
- </div>
1154
-
1155
- <div class="method_details ">
1156
- <h3 class="signature " id="window1__delete_event-instance_method">
1157
-
1158
- #<strong>window1__delete_event</strong>(*a) &#x21d2; <tt>Object</tt>
1159
-
1160
-
1161
-
1162
-
1163
-
1164
- </h3><table class="source_code">
1165
- <tr>
1166
- <td>
1167
- <pre class="lines">
1168
-
1169
-
1170
- 176
1171
- 177
1172
- 178
1173
- 179
1174
- 180</pre>
1175
- </td>
1176
- <td>
1177
- <pre class="code"><span class="info file"># File 'src/MyYard.rb', line 176</span>
1178
-
1179
- <span class='kw'>def</span> <span class='id identifier rubyid_window1__delete_event'>window1__delete_event</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_a'>a</span><span class='rparen'>)</span>
1180
- <span class='id identifier rubyid_save_state'>save_state</span>
1181
- <span class='gvar'>$open_project</span> <span class='op'>=</span> <span class='symbol'>:exit</span>
1182
- <span class='kw'>return</span> <span class='kw'>false</span>
1183
- <span class='kw'>end</span></pre>
1184
- </td>
1185
- </tr>
1186
- </table>
1187
- </div>
1188
-
1189
- </div>
1190
-
1191
- </div>
1192
-
1193
- <div id="footer">
1194
- Generated on Wed Aug 3 17:54:46 2016 by
1195
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1196
- 0.9.0 (ruby-2.3.0).
1197
- </div>
1198
-
1199
- </div>
1200
- </body>
1201
- </html>