rumai 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/CREDITS +4 -3
  2. data/HISTORY +327 -0
  3. data/INSTALL +31 -0
  4. data/README +92 -0
  5. data/USAGE +297 -0
  6. data/bin/rumai +9 -22
  7. data/doc/api/IO.html +119 -0
  8. data/doc/api/Integer.html +171 -0
  9. data/doc/api/Rumai.html +1270 -0
  10. data/doc/api/Rumai/Area.html +1485 -0
  11. data/doc/api/Rumai/Chain.html +301 -0
  12. data/doc/api/Rumai/Client.html +2451 -0
  13. data/doc/api/Rumai/ClientContainer.html +301 -0
  14. data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
  15. data/doc/api/Rumai/IXP.html +94 -0
  16. data/doc/api/Rumai/IXP/Agent.html +1625 -0
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
  19. data/doc/api/Rumai/IXP/Error.html +110 -0
  20. data/doc/api/Rumai/IXP/Fcall.html +503 -0
  21. data/doc/api/Rumai/IXP/Qid.html +207 -0
  22. data/doc/api/Rumai/IXP/Rattach.html +148 -0
  23. data/doc/api/Rumai/IXP/Rauth.html +148 -0
  24. data/doc/api/Rumai/IXP/Rclunk.html +148 -0
  25. data/doc/api/Rumai/IXP/Rcreate.html +148 -0
  26. data/doc/api/Rumai/IXP/Rerror.html +148 -0
  27. data/doc/api/Rumai/IXP/Rflush.html +148 -0
  28. data/doc/api/Rumai/IXP/Ropen.html +148 -0
  29. data/doc/api/Rumai/IXP/Rread.html +148 -0
  30. data/doc/api/Rumai/IXP/Rremove.html +148 -0
  31. data/doc/api/Rumai/IXP/Rstat.html +148 -0
  32. data/doc/api/Rumai/IXP/Rversion.html +148 -0
  33. data/doc/api/Rumai/IXP/Rwalk.html +148 -0
  34. data/doc/api/Rumai/IXP/Rwrite.html +148 -0
  35. data/doc/api/Rumai/IXP/Rwstat.html +148 -0
  36. data/doc/api/Rumai/IXP/Stat.html +335 -0
  37. data/doc/api/Rumai/IXP/Stream.html +194 -0
  38. data/doc/api/Rumai/IXP/Struct.html +586 -0
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
  40. data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
  45. data/doc/api/Rumai/IXP/Tattach.html +148 -0
  46. data/doc/api/Rumai/IXP/Tauth.html +148 -0
  47. data/doc/api/Rumai/IXP/Tclunk.html +148 -0
  48. data/doc/api/Rumai/IXP/Tcreate.html +148 -0
  49. data/doc/api/Rumai/IXP/Terror.html +231 -0
  50. data/doc/api/Rumai/IXP/Tflush.html +148 -0
  51. data/doc/api/Rumai/IXP/Topen.html +240 -0
  52. data/doc/api/Rumai/IXP/Tread.html +148 -0
  53. data/doc/api/Rumai/IXP/Tremove.html +148 -0
  54. data/doc/api/Rumai/IXP/Tstat.html +148 -0
  55. data/doc/api/Rumai/IXP/Tversion.html +162 -0
  56. data/doc/api/Rumai/IXP/Twalk.html +148 -0
  57. data/doc/api/Rumai/IXP/Twrite.html +148 -0
  58. data/doc/api/Rumai/IXP/Twstat.html +148 -0
  59. data/doc/api/Rumai/Node.html +1406 -0
  60. data/doc/api/Rumai/View.html +1587 -0
  61. data/doc/api/Rumai/WidgetImpl.html +333 -0
  62. data/doc/api/Rumai/WidgetNode.html +246 -0
  63. data/doc/api/String.html +258 -0
  64. data/doc/api/StringIO.html +119 -0
  65. data/doc/api/Time.html +247 -0
  66. data/doc/api/_index.html +581 -0
  67. data/doc/api/class_list.html +36 -0
  68. data/doc/api/css/common.css +1 -0
  69. data/doc/api/css/full_list.css +50 -0
  70. data/doc/api/css/style.css +273 -0
  71. data/doc/api/file.LICENSE.html +73 -0
  72. data/doc/api/file_list.html +38 -0
  73. data/doc/api/frames.html +13 -0
  74. data/doc/api/index.html +72 -13
  75. data/doc/api/js/app.js +111 -0
  76. data/doc/api/js/full_list.js +117 -0
  77. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  78. data/doc/api/method_list.html +1483 -0
  79. data/doc/api/top-level-namespace.html +89 -0
  80. data/doc/index.erb +18 -13
  81. data/doc/index.html +331 -386
  82. data/lib/rumai.rb +1 -18
  83. data/lib/rumai/fs.rb +11 -11
  84. data/lib/rumai/inochi.rb +48 -0
  85. data/lib/rumai/inochi.yaml +94 -0
  86. data/lib/rumai/ixp.rb +0 -4
  87. data/lib/rumai/ixp/message.rb +6 -17
  88. data/lib/rumai/ixp/transport.rb +39 -30
  89. data/lib/rumai/wm.rb +35 -37
  90. data/test/rumai/inochi_test.rb +17 -0
  91. data/test/rumai/ixp/message_test.rb +245 -0
  92. data/test/runner +25 -0
  93. data/test/test_helper.rb +1 -0
  94. metadata +107 -125
  95. data/doc/api/apple-touch-icon.png +0 -0
  96. data/doc/api/classes/IO.html +0 -72
  97. data/doc/api/classes/Integer.html +0 -110
  98. data/doc/api/classes/Object.html +0 -60
  99. data/doc/api/classes/Rumai.html +0 -837
  100. data/doc/api/classes/Rumai/Area.html +0 -909
  101. data/doc/api/classes/Rumai/Chain.html +0 -197
  102. data/doc/api/classes/Rumai/Client.html +0 -1526
  103. data/doc/api/classes/Rumai/ClientContainer.html +0 -191
  104. data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
  105. data/doc/api/classes/Rumai/IXP.html +0 -131
  106. data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
  107. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
  108. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
  109. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
  110. data/doc/api/classes/Rumai/IXP/Error.html +0 -67
  111. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
  112. data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
  113. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
  114. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
  115. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
  116. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
  117. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
  118. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
  119. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
  120. data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
  121. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
  122. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
  123. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
  124. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
  125. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
  126. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
  127. data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
  128. data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
  129. data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
  130. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
  131. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
  132. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
  133. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
  134. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
  135. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
  136. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
  137. data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
  138. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
  139. data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
  140. data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
  141. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
  142. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
  143. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
  144. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
  145. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
  146. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
  147. data/doc/api/classes/Rumai/Node.html +0 -821
  148. data/doc/api/classes/Rumai/View.html +0 -967
  149. data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
  150. data/doc/api/classes/Rumai/WidgetNode.html +0 -68
  151. data/doc/api/classes/String.html +0 -163
  152. data/doc/api/classes/StringIO.html +0 -72
  153. data/doc/api/classes/Time.html +0 -156
  154. data/doc/api/created.rid +0 -1
  155. data/doc/api/css/main.css +0 -263
  156. data/doc/api/css/panel.css +0 -383
  157. data/doc/api/css/reset.css +0 -53
  158. data/doc/api/favicon.ico +0 -0
  159. data/doc/api/files/CREDITS.html +0 -67
  160. data/doc/api/files/LICENSE.html +0 -76
  161. data/doc/api/files/lib/rumai/fs_rb.html +0 -75
  162. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
  163. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
  164. data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
  165. data/doc/api/files/lib/rumai/wm_rb.html +0 -77
  166. data/doc/api/files/lib/rumai_rb.html +0 -65
  167. data/doc/api/i/arrows.png +0 -0
  168. data/doc/api/i/results_bg.png +0 -0
  169. data/doc/api/i/tree_bg.png +0 -0
  170. data/doc/api/js/jquery-effect.js +0 -593
  171. data/doc/api/js/main.js +0 -22
  172. data/doc/api/js/searchdoc.js +0 -628
  173. data/doc/api/panel/index.html +0 -71
  174. data/doc/api/panel/search_index.js +0 -1
  175. data/doc/api/panel/tree.js +0 -1
  176. data/doc/history.erb +0 -233
  177. data/doc/intro.erb +0 -70
  178. data/doc/setup.erb +0 -144
  179. data/doc/usage.erb +0 -308
  180. data/rakefile +0 -14
  181. data/test/rumai/ixp/message.rb +0 -237
@@ -0,0 +1,333 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Module: Rumai::WidgetImpl</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (W)</a> &raquo;
27
+ <span class='title'><a href="../Rumai.html" title="Rumai (module)">Rumai</a></span>
28
+ &raquo;
29
+ <span class="title">WidgetImpl</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Module: Rumai::WidgetImpl
47
+
48
+
49
+ </h1>
50
+
51
+ <dl class="box">
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+ <dt class="r1">Included in:</dt>
60
+ <dd class="r1"><a href="Area.html" title="Rumai::Area (class)">Area</a>, <a href="View.html" title="Rumai::View (class)">View</a>, <a href="WidgetNode.html" title="Rumai::WidgetNode (class)">WidgetNode</a></dd>
61
+
62
+
63
+
64
+ <dt class="r2 last">Defined in:</dt>
65
+ <dd class="r2 last">lib/rumai/wm.rb</dd>
66
+
67
+ </dl>
68
+ <div class="clear"></div>
69
+
70
+ <h2>Overview</h2><div class="docstring">
71
+ <div class="discussion">
72
+
73
+ <p class="note notetag">
74
+ <strong>Note:</strong>
75
+ <div class='inline'><p>
76
+ Inheritors must define a <tt>curr</tt> class method.
77
+ </p>
78
+ </div>
79
+ </p>
80
+
81
+ <p class="note notetag">
82
+ <strong>Note:</strong>
83
+ <div class='inline'><p>
84
+ Inheritors must override the <tt>focus</tt> method.
85
+ </p>
86
+ </div>
87
+ </p>
88
+
89
+ <p>
90
+ The basic building block of the WM hierarchy.
91
+ </p>
92
+
93
+
94
+ </div>
95
+ </div>
96
+ <div class="tags">
97
+
98
+ </div>
99
+
100
+ <h2>Instance Attribute Summary</h2>
101
+ <ul class="summary">
102
+
103
+ <li class="public ">
104
+ <span class="summary_signature">
105
+
106
+ <a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
107
+
108
+
109
+
110
+ </span>
111
+
112
+
113
+ <span class="note title readonly">readonly</span>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+ <span class="summary_desc"><div class='inline'><p>
122
+ Returns the value of attribute id.
123
+ </p>
124
+ </div></span>
125
+
126
+ </li>
127
+
128
+
129
+ </ul>
130
+
131
+
132
+
133
+ <h2>Instance Method Summary</h2>
134
+
135
+ <ul class="summary">
136
+
137
+ <li class="public ">
138
+ <span class="summary_signature">
139
+
140
+ <a href="#%3D%3D-instance_method" title="#== (instance method)">- (Object) <strong>==</strong>(other) </a>
141
+
142
+
143
+
144
+ </span>
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+ <span class="summary_desc"><div class='inline'></div></span>
153
+
154
+ </li>
155
+
156
+
157
+ <li class="public ">
158
+ <span class="summary_signature">
159
+
160
+ <a href="#current%3F-instance_method" title="#current? (instance method)">- (Boolean) <strong>current?</strong> </a>
161
+
162
+
163
+
164
+ (also: #focus?)
165
+
166
+ </span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <span class="summary_desc"><div class='inline'><p>
175
+ Checks if this widget currently has focus.
176
+ </p>
177
+ </div></span>
178
+
179
+ </li>
180
+
181
+
182
+ </ul>
183
+
184
+
185
+
186
+ <div id="instance_attr_details" class="attr_details">
187
+ <h2>Instance Attribute Details</h2>
188
+
189
+
190
+ <span id=""></span>
191
+ <span id="id-instance_method"></span>
192
+ <div class="method_details first">
193
+ <p class="signature first" id="id-instance_method">
194
+
195
+ - (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>id</strong> <span class="extras">(readonly)</span>
196
+
197
+
198
+
199
+ </p><div class="docstring">
200
+ <div class="discussion">
201
+ <p>
202
+ Returns the value of attribute id
203
+ </p>
204
+
205
+
206
+ </div>
207
+ </div>
208
+ <div class="tags">
209
+
210
+ </div><table class="source_code">
211
+ <tr>
212
+ <td>
213
+ <pre class="lines">
214
+
215
+
216
+ 67
217
+ 68
218
+ 69</pre>
219
+ </td>
220
+ <td>
221
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 67</span>
222
+
223
+ <span class='kw'>def</span> <span class='id id'>id</span>
224
+ <span class='ivar'>@id</span>
225
+ <span class='kw'>end</span></pre>
226
+ </td>
227
+ </tr>
228
+ </table>
229
+ </div>
230
+
231
+ </div>
232
+
233
+
234
+ <div id="instance_method_details" class="method_details_list">
235
+ <h2>Instance Method Details</h2>
236
+
237
+
238
+ <div class="method_details first">
239
+ <p class="signature first" id="==-instance_method">
240
+
241
+ - (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>==</strong>(other)
242
+
243
+
244
+
245
+ </p><table class="source_code">
246
+ <tr>
247
+ <td>
248
+ <pre class="lines">
249
+
250
+
251
+ 69
252
+ 70
253
+ 71</pre>
254
+ </td>
255
+ <td>
256
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 69</span>
257
+
258
+ <span class='kw'>def</span> <span class='op'>==</span> <span class='id other'>other</span>
259
+ <span class='ivar'>@id</span> <span class='op'>==</span> <span class='id other'>other</span><span class='period'>.</span><span class='id id'>id</span>
260
+ <span class='kw'>end</span></pre>
261
+ </td>
262
+ </tr>
263
+ </table>
264
+ </div>
265
+
266
+ <div class="method_details ">
267
+ <p class="signature " id="current?-instance_method">
268
+
269
+ - (<tt>Boolean</tt>) <strong>current?</strong>
270
+
271
+
272
+
273
+ <span class="aliases">Also known as:
274
+ <span class="names"><span id='focus?-instance_method'>focus?</span></span>
275
+ </span>
276
+
277
+ </p><div class="docstring">
278
+ <div class="discussion">
279
+ <p>
280
+ Checks if this widget currently has focus.
281
+ </p>
282
+
283
+
284
+ </div>
285
+ </div>
286
+ <div class="tags">
287
+ <h3>Returns:</h3>
288
+ <ul class="return">
289
+
290
+ <li>
291
+
292
+ <span class='type'>(<tt>Boolean</tt>)</span>
293
+
294
+
295
+
296
+
297
+ </li>
298
+
299
+ </ul>
300
+
301
+ </div><table class="source_code">
302
+ <tr>
303
+ <td>
304
+ <pre class="lines">
305
+
306
+
307
+ 76
308
+ 77
309
+ 78</pre>
310
+ </td>
311
+ <td>
312
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 76</span>
313
+
314
+ <span class='kw'>def</span> <span class='id current?'>current?</span>
315
+ <span class='kw'>self</span> <span class='op'>==</span> <span class='kw'>self</span><span class='period'>.</span><span class='id class'>class</span><span class='period'>.</span><span class='id curr'>curr</span>
316
+ <span class='kw'>end</span></pre>
317
+ </td>
318
+ </tr>
319
+ </table>
320
+ </div>
321
+
322
+ </div>
323
+
324
+ </div>
325
+
326
+ <div id="footer">
327
+ Generated on Mon Mar 22 22:23:52 2010 by
328
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
329
+ 0.5.4 (ruby-1.9.1).
330
+ </div>
331
+
332
+ </body>
333
+ </html>
@@ -0,0 +1,246 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Class: Rumai::WidgetNode</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+ <a href="../_index.html">Index (W)</a> &raquo;
27
+ <span class='title'><a href="../Rumai.html" title="Rumai (module)">Rumai</a></span>
28
+ &raquo;
29
+ <span class="title">WidgetNode</span>
30
+
31
+
32
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ </div>
34
+
35
+ <div id="search">
36
+ <a id="class_list_link" href="#">Class List</a>
37
+ <a id="method_list_link" href="#">Method List</a>
38
+ <a id ="file_list_link" href="#">File List</a>
39
+ </div>
40
+
41
+ <div class="clear"></div>
42
+ </div>
43
+
44
+ <iframe id="search_frame"></iframe>
45
+
46
+ <div id="content"><h1>Class: Rumai::WidgetNode
47
+
48
+
49
+ </h1>
50
+
51
+ <dl class="box">
52
+
53
+ <dt class="r1">Inherits:</dt>
54
+ <dd class="r1">
55
+ <span class="inheritName"><a href="Node.html" title="Rumai::Node (class)">Node</a></span>
56
+
57
+ <ul class="fullTree">
58
+ <li><a href="../Object.html" title="Object (class)">Object</a></li>
59
+
60
+ <li class="next"><a href="Node.html" title="Rumai::Node (class)">Node</a></li>
61
+
62
+ <li class="next">Rumai::WidgetNode</li>
63
+
64
+ </ul>
65
+ <a href="#" class="inheritanceTree">show all</a>
66
+
67
+ </dd>
68
+
69
+
70
+
71
+
72
+
73
+
74
+ <dt class="r2">Includes:</dt>
75
+ <dd class="r2"><a href="WidgetImpl.html" title="Rumai::WidgetImpl (module)">WidgetImpl</a></dd>
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/rumai/wm.rb</dd>
83
+
84
+ </dl>
85
+ <div class="clear"></div>
86
+
87
+ <h2>Overview</h2><div class="docstring">
88
+ <div class="discussion">
89
+ <p>
90
+ A widget that has a corresponding representation in the IXP file system.
91
+ </p>
92
+
93
+
94
+ </div>
95
+ </div>
96
+ <div class="tags">
97
+
98
+ </div><div id="subclasses">
99
+ <h2>Direct Known Subclasses</h2>
100
+ <p class="children"><a href="Client.html" title="Rumai::Client (class)">Client</a>, <a href="View.html" title="Rumai::View (class)">View</a></p>
101
+ </div>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+ <h2>Instance Method Summary</h2>
116
+
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (WidgetNode) <strong>initialize</strong>(id, path_prefix) </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+ <span class="note title constructor">constructor</span>
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <span class="summary_desc"><div class='inline'><p>
137
+ A new instance of WidgetNode.
138
+ </p>
139
+ </div></span>
140
+
141
+ </li>
142
+
143
+
144
+ </ul>
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <h3 class="inherited">Methods included from <a href="WidgetImpl.html" title="Rumai::WidgetImpl (module)">WidgetImpl</a></h3>
156
+ <p class="inherited"><a href="WidgetImpl.html#%3D%3D-instance_method" title="Rumai::WidgetImpl#== (method)">#==</a>, <a href="WidgetImpl.html#current%3F-instance_method" title="Rumai::WidgetImpl#current? (method)">#current?</a></p>
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <h3 class="inherited">Methods inherited from <a href="Node.html" title="Rumai::Node (class)">Node</a></h3>
166
+ <p class="inherited"><a href="Node.html#%5B%5D-instance_method" title="Rumai::Node#[] (method)">#[]</a>, <a href="Node.html#children-instance_method" title="Rumai::Node#children (method)">#children</a>, <a href="Node.html#clear-instance_method" title="Rumai::Node#clear (method)">#clear</a>, <a href="Node.html#create-instance_method" title="Rumai::Node#create (method)">#create</a>, <a href="Node.html#directory%3F-instance_method" title="Rumai::Node#directory? (method)">#directory?</a>, <a href="Node.html#each-instance_method" title="Rumai::Node#each (method)">#each</a>, <a href="Node.html#each_line-instance_method" title="Rumai::Node#each_line (method)">#each_line</a>, <a href="Node.html#entries-instance_method" title="Rumai::Node#entries (method)">#entries</a>, <a href="Node.html#exist%3F-instance_method" title="Rumai::Node#exist? (method)">#exist?</a>, <a href="Node.html#method_missing-instance_method" title="Rumai::Node#method_missing (method)">#method_missing</a>, <a href="Node.html#open-instance_method" title="Rumai::Node#open (method)">#open</a>, <a href="Node.html#parent-instance_method" title="Rumai::Node#parent (method)">#parent</a>, <a href="Node.html#read-instance_method" title="Rumai::Node#read (method)">#read</a>, <a href="Node.html#remove-instance_method" title="Rumai::Node#remove (method)">#remove</a>, <a href="Node.html#stat-instance_method" title="Rumai::Node#stat (method)">#stat</a>, <a href="Node.html#write-instance_method" title="Rumai::Node#write (method)">#write</a></p>
167
+
168
+ <div id="constructor_details" class="method_details_list">
169
+ <h2>Constructor Details</h2>
170
+
171
+ <div class="method_details first">
172
+ <p class="signature first" id="initialize-instance_method">
173
+
174
+ - (<tt><a href="" title="Rumai::WidgetNode (class)">WidgetNode</a></tt>) <strong>initialize</strong>(id, path_prefix)
175
+
176
+
177
+
178
+ </p><div class="docstring">
179
+ <div class="discussion">
180
+ <p>
181
+ A new instance of WidgetNode
182
+ </p>
183
+
184
+
185
+ </div>
186
+ </div>
187
+ <div class="tags">
188
+
189
+ </div><table class="source_code">
190
+ <tr>
191
+ <td>
192
+ <pre class="lines">
193
+
194
+
195
+ 89
196
+ 90
197
+ 91
198
+ 92
199
+ 93
200
+ 94
201
+ 95
202
+ 96
203
+ 97
204
+ 98</pre>
205
+ </td>
206
+ <td>
207
+ <pre class="code"><span class="info file"># File 'lib/rumai/wm.rb', line 89</span>
208
+
209
+ <span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id id'>id</span><span class='comma'>,</span> <span class='id path_prefix'>path_prefix</span>
210
+ <span class='kw'>super</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id path_prefix'>path_prefix</span><span class='rbrace'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id id'>id</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
211
+
212
+ <span class='kw'>if</span> <span class='id id'>id</span> <span class='op'>==</span> <span class='const'>FOCUSED_WIDGET_ID</span> <span class='kw'>and</span> <span class='id ctl'>ctl</span><span class='period'>.</span><span class='id exist?'>exist?</span>
213
+ <span class='ivar'>@id</span> <span class='op'>=</span> <span class='id ctl'>ctl</span><span class='period'>.</span><span class='id read'>read</span><span class='period'>.</span><span class='id split'>split</span><span class='period'>.</span><span class='id first'>first</span>
214
+ <span class='kw'>super</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id path_prefix'>path_prefix</span><span class='rbrace'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='ivar'>@id</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
215
+ <span class='kw'>else</span>
216
+ <span class='ivar'>@id</span> <span class='op'>=</span> <span class='id id'>id</span><span class='period'>.</span><span class='id to_s'>to_s</span>
217
+ <span class='kw'>end</span>
218
+ <span class='kw'>end</span></pre>
219
+ </td>
220
+ </tr>
221
+ </table>
222
+ </div>
223
+
224
+ </div>
225
+ <div id="method_missing_details" class="method_details_list">
226
+ <h2>Dynamic Method Handling</h2>
227
+ <p class="notice super">
228
+ This class handles dynamic methods through the <tt>method_missing</tt> method
229
+
230
+ in the class <a href="Node.html#method_missing-instance_method" title="Rumai::Node#method_missing (method)">Rumai::Node</a>
231
+
232
+ </p>
233
+
234
+ </div>
235
+
236
+
237
+ </div>
238
+
239
+ <div id="footer">
240
+ Generated on Mon Mar 22 22:23:53 2010 by
241
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
242
+ 0.5.4 (ruby-1.9.1).
243
+ </div>
244
+
245
+ </body>
246
+ </html>