rumai 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rumai +2 -2
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +1 -1
- data/doc/api/classes/Integer.html +6 -6
- data/doc/api/classes/Rumai.html +141 -141
- data/doc/api/classes/Rumai/Area.html +122 -122
- data/doc/api/classes/Rumai/Chain.html +18 -18
- data/doc/api/classes/Rumai/Client.html +420 -122
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +90 -90
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +41 -41
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +6 -6
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +18 -18
- data/doc/api/classes/Rumai/IXP/Fcall.html +30 -30
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +7 -7
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +24 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +36 -36
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
- data/doc/api/classes/Rumai/IXP/Terror.html +6 -6
- data/doc/api/classes/Rumai/Node.html +52 -52
- data/doc/api/classes/Rumai/View.html +132 -132
- data/doc/api/classes/String.html +12 -12
- data/doc/api/classes/StringIO.html +1 -1
- data/doc/api/classes/Time.html +12 -12
- data/doc/api/created.rid +1 -1
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/LICENSE.html +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/js/searchdoc.js +38 -15
- data/doc/api/panel/index.html +13 -5
- data/doc/api/panel/search_index.js +1 -1
- data/doc/api/panel/tree.js +1 -1
- data/doc/history.erb +79 -2
- data/doc/index.erb +2 -2
- data/doc/index.html +2017 -0
- data/doc/intro.erb +38 -62
- data/doc/setup.erb +53 -2
- data/doc/usage.erb +36 -11
- data/lib/rumai.rb +4 -4
- data/lib/rumai/fs.rb +2 -2
- data/lib/rumai/ixp.rb +2 -2
- data/lib/rumai/ixp/message.rb +2 -2
- data/lib/rumai/ixp/transport.rb +2 -2
- data/lib/rumai/wm.rb +80 -5
- data/rakefile +2 -2
- data/test/rumai/ixp/message.rb +3 -3
- metadata +9 -5
- data/doc/index.xhtml +0 -1078
@@ -50,7 +50,7 @@ Methods for a field that counts the length of another field.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000153">to_9p</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -72,9 +72,9 @@ Methods for a field that counts the length of another field.
|
|
72
72
|
<div class="sectiontitle">Instance Public methods</div>
|
73
73
|
|
74
74
|
<div class="method">
|
75
|
-
<div class="title" id="
|
75
|
+
<div class="title" id="M000153">
|
76
76
|
|
77
|
-
<a name="
|
77
|
+
<a name="M000153"></a><b>to_9p</b>(field_values)
|
78
78
|
|
79
79
|
</div>
|
80
80
|
|
@@ -83,12 +83,12 @@ Methods for a field that counts the length of another field.
|
|
83
83
|
|
84
84
|
<div class="sourcecode">
|
85
85
|
<p class="source-link">
|
86
|
-
Source: <a href="javascript:toggleSource('
|
86
|
+
Source: <a href="javascript:toggleSource('M000153_source')" id="l_M000153_source">show</a>
|
87
87
|
|
88
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
88
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L239" target="_blank" class="github_url">on GitHub</a>
|
89
89
|
|
90
90
|
</p>
|
91
|
-
<div id="
|
91
|
+
<div id="M000153_source" class="dyn-source">
|
92
92
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 239</span>
|
93
93
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">field_values</span>
|
94
94
|
<span class="ruby-identifier">value_to_9p</span> <span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@countee</span>.<span class="ruby-identifier">name</span>].<span class="ruby-identifier">length</span>
|
@@ -56,7 +56,7 @@ illegal
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000171">to_9p</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -78,9 +78,9 @@ illegal
|
|
78
78
|
<div class="sectiontitle">Instance Public methods</div>
|
79
79
|
|
80
80
|
<div class="method">
|
81
|
-
<div class="title" id="
|
81
|
+
<div class="title" id="M000171">
|
82
82
|
|
83
|
-
<a name="
|
83
|
+
<a name="M000171"></a><b>to_9p</b>()
|
84
84
|
|
85
85
|
</div>
|
86
86
|
|
@@ -89,12 +89,12 @@ illegal
|
|
89
89
|
|
90
90
|
<div class="sourcecode">
|
91
91
|
<p class="source-link">
|
92
|
-
Source: <a href="javascript:toggleSource('
|
92
|
+
Source: <a href="javascript:toggleSource('M000171_source')" id="l_M000171_source">show</a>
|
93
93
|
|
94
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
94
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L475" target="_blank" class="github_url">on GitHub</a>
|
95
95
|
|
96
96
|
</p>
|
97
|
-
<div id="
|
97
|
+
<div id="M000171_source" class="dyn-source">
|
98
98
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 475</span>
|
99
99
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span>
|
100
100
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Error</span>, <span class="ruby-value str">'the Terror fcall cannot be transmitted'</span>
|
@@ -56,7 +56,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000011">[]</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -65,9 +65,9 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
65
65
|
<dd>
|
66
66
|
<ul>
|
67
67
|
|
68
|
-
<li><a href="#
|
68
|
+
<li><a href="#M000013">children</a>,</li>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000015">clear</a>,</li>
|
71
71
|
|
72
72
|
<li><a href="#M000009">create</a></li>
|
73
73
|
|
@@ -87,7 +87,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
87
87
|
<dd>
|
88
88
|
<ul>
|
89
89
|
|
90
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000014">each</a>,</li>
|
91
91
|
|
92
92
|
<li><a href="#M000007">each_line</a>,</li>
|
93
93
|
|
@@ -102,7 +102,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
102
102
|
<dd>
|
103
103
|
<ul>
|
104
104
|
|
105
|
-
<li><a href="#
|
105
|
+
<li><a href="#M000016">method_missing</a></li>
|
106
106
|
|
107
107
|
</ul>
|
108
108
|
</dd>
|
@@ -129,7 +129,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
129
129
|
<dd>
|
130
130
|
<ul>
|
131
131
|
|
132
|
-
<li><a href="#
|
132
|
+
<li><a href="#M000012">parent</a></li>
|
133
133
|
|
134
134
|
</ul>
|
135
135
|
</dd>
|
@@ -140,7 +140,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
140
140
|
|
141
141
|
<li><a href="#M000006">read</a>,</li>
|
142
142
|
|
143
|
-
<li><a href="#
|
143
|
+
<li><a href="#M000010">remove</a></li>
|
144
144
|
|
145
145
|
</ul>
|
146
146
|
</dd>
|
@@ -218,7 +218,7 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
218
218
|
<p class="source-link">
|
219
219
|
Source: <a href="javascript:toggleSource('M000000_source')" id="l_M000000_source">show</a>
|
220
220
|
|
221
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
221
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L39" target="_blank" class="github_url">on GitHub</a>
|
222
222
|
|
223
223
|
</p>
|
224
224
|
<div id="M000000_source" class="dyn-source">
|
@@ -234,9 +234,9 @@ An entry in the <a href="IXP.html">IXP</a> file system.
|
|
234
234
|
<div class="sectiontitle">Instance Public methods</div>
|
235
235
|
|
236
236
|
<div class="method">
|
237
|
-
<div class="title" id="
|
237
|
+
<div class="title" id="M000011">
|
238
238
|
|
239
|
-
<a name="
|
239
|
+
<a name="M000011"></a><b>[]</b>(sub_path)
|
240
240
|
|
241
241
|
</div>
|
242
242
|
|
@@ -252,12 +252,12 @@ Returns the given sub-path as a <a href="Node.html">Node</a> object.
|
|
252
252
|
|
253
253
|
<div class="sourcecode">
|
254
254
|
<p class="source-link">
|
255
|
-
Source: <a href="javascript:toggleSource('
|
255
|
+
Source: <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show</a>
|
256
256
|
|
257
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
257
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L132" target="_blank" class="github_url">on GitHub</a>
|
258
258
|
|
259
259
|
</p>
|
260
|
-
<div id="
|
260
|
+
<div id="M000011_source" class="dyn-source">
|
261
261
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 132</span>
|
262
262
|
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">sub_path</span>
|
263
263
|
<span class="ruby-ivar">@@cache</span>[ <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@path</span>, <span class="ruby-identifier">sub_path</span>.<span class="ruby-identifier">to_s</span>) ]
|
@@ -268,9 +268,9 @@ Returns the given sub-path as a <a href="Node.html">Node</a> object.
|
|
268
268
|
</div>
|
269
269
|
|
270
270
|
<div class="method">
|
271
|
-
<div class="title" id="
|
271
|
+
<div class="title" id="M000013">
|
272
272
|
|
273
|
-
<a name="
|
273
|
+
<a name="M000013"></a><b>children</b>()
|
274
274
|
|
275
275
|
</div>
|
276
276
|
|
@@ -286,12 +286,12 @@ Returns all child nodes of this node.
|
|
286
286
|
|
287
287
|
<div class="sourcecode">
|
288
288
|
<p class="source-link">
|
289
|
-
Source: <a href="javascript:toggleSource('
|
289
|
+
Source: <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show</a>
|
290
290
|
|
291
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
291
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L146" target="_blank" class="github_url">on GitHub</a>
|
292
292
|
|
293
293
|
</p>
|
294
|
-
<div id="
|
294
|
+
<div id="M000013_source" class="dyn-source">
|
295
295
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 146</span>
|
296
296
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">children</span>
|
297
297
|
<span class="ruby-identifier">entries</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">c</span>] }
|
@@ -302,9 +302,9 @@ Returns all child nodes of this node.
|
|
302
302
|
</div>
|
303
303
|
|
304
304
|
<div class="method">
|
305
|
-
<div class="title" id="
|
305
|
+
<div class="title" id="M000015">
|
306
306
|
|
307
|
-
<a name="
|
307
|
+
<a name="M000015"></a><b>clear</b>()
|
308
308
|
|
309
309
|
</div>
|
310
310
|
|
@@ -320,12 +320,12 @@ Deletes all child nodes.
|
|
320
320
|
|
321
321
|
<div class="sourcecode">
|
322
322
|
<p class="source-link">
|
323
|
-
Source: <a href="javascript:toggleSource('
|
323
|
+
Source: <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show</a>
|
324
324
|
|
325
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
325
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L162" target="_blank" class="github_url">on GitHub</a>
|
326
326
|
|
327
327
|
</p>
|
328
|
-
<div id="
|
328
|
+
<div id="M000015_source" class="dyn-source">
|
329
329
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 162</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
|
331
331
|
<span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
@@ -362,7 +362,7 @@ See Rumai::IXP::Client#create for details.
|
|
362
362
|
<p class="source-link">
|
363
363
|
Source: <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show</a>
|
364
364
|
|
365
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
365
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L118" target="_blank" class="github_url">on GitHub</a>
|
366
366
|
|
367
367
|
</p>
|
368
368
|
<div id="M000009_source" class="dyn-source">
|
@@ -396,7 +396,7 @@ Tests if this node is a directory.
|
|
396
396
|
<p class="source-link">
|
397
397
|
Source: <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show</a>
|
398
398
|
|
399
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
399
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L66" target="_blank" class="github_url">on GitHub</a>
|
400
400
|
|
401
401
|
</p>
|
402
402
|
<div id="M000003_source" class="dyn-source">
|
@@ -410,9 +410,9 @@ Tests if this node is a directory.
|
|
410
410
|
</div>
|
411
411
|
|
412
412
|
<div class="method">
|
413
|
-
<div class="title" id="
|
413
|
+
<div class="title" id="M000014">
|
414
414
|
|
415
|
-
<a name="
|
415
|
+
<a name="M000014"></a><b>each</b>(&block)
|
416
416
|
|
417
417
|
</div>
|
418
418
|
|
@@ -428,12 +428,12 @@ Iterates through each child of this directory.
|
|
428
428
|
|
429
429
|
<div class="sourcecode">
|
430
430
|
<p class="source-link">
|
431
|
-
Source: <a href="javascript:toggleSource('
|
431
|
+
Source: <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show</a>
|
432
432
|
|
433
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
433
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L155" target="_blank" class="github_url">on GitHub</a>
|
434
434
|
|
435
435
|
</p>
|
436
|
-
<div id="
|
436
|
+
<div id="M000014_source" class="dyn-source">
|
437
437
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 155</span>
|
438
438
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
439
439
|
<span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -464,7 +464,7 @@ Invokes the given block for every line in the content of this node.
|
|
464
464
|
<p class="source-link">
|
465
465
|
Source: <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show</a>
|
466
466
|
|
467
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
467
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L98" target="_blank" class="github_url">on GitHub</a>
|
468
468
|
|
469
469
|
</p>
|
470
470
|
<div id="M000007_source" class="dyn-source">
|
@@ -502,7 +502,7 @@ Returns the names of all files in this directory.
|
|
502
502
|
<p class="source-link">
|
503
503
|
Source: <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show</a>
|
504
504
|
|
505
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
505
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L73" target="_blank" class="github_url">on GitHub</a>
|
506
506
|
|
507
507
|
</p>
|
508
508
|
<div id="M000004_source" class="dyn-source">
|
@@ -536,7 +536,7 @@ Tests if this node exists on the <a href="IXP.html">IXP</a> server.
|
|
536
536
|
<p class="source-link">
|
537
537
|
Source: <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show</a>
|
538
538
|
|
539
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
539
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L55" target="_blank" class="github_url">on GitHub</a>
|
540
540
|
|
541
541
|
</p>
|
542
542
|
<div id="M000002_source" class="dyn-source">
|
@@ -554,9 +554,9 @@ Tests if this node exists on the <a href="IXP.html">IXP</a> server.
|
|
554
554
|
</div>
|
555
555
|
|
556
556
|
<div class="method">
|
557
|
-
<div class="title" id="
|
557
|
+
<div class="title" id="M000016">
|
558
558
|
|
559
|
-
<a name="
|
559
|
+
<a name="M000016"></a><b> node.child → Node
|
560
560
|
</b>
|
561
561
|
|
562
562
|
</div>
|
@@ -573,12 +573,12 @@ Provides access to child nodes through method calls.
|
|
573
573
|
|
574
574
|
<div class="sourcecode">
|
575
575
|
<p class="source-link">
|
576
|
-
Source: <a href="javascript:toggleSource('
|
576
|
+
Source: <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show</a>
|
577
577
|
|
578
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
578
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L173" target="_blank" class="github_url">on GitHub</a>
|
579
579
|
|
580
580
|
</p>
|
581
|
-
<div id="
|
581
|
+
<div id="M000016_source" class="dyn-source">
|
582
582
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 173</span>
|
583
583
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">meth</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
|
584
584
|
<span class="ruby-identifier">child</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">meth</span>]
|
@@ -621,7 +621,7 @@ See Rumai::IXP::Client#open for details.
|
|
621
621
|
<p class="source-link">
|
622
622
|
Source: <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show</a>
|
623
623
|
|
624
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
624
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L82" target="_blank" class="github_url">on GitHub</a>
|
625
625
|
|
626
626
|
</p>
|
627
627
|
<div id="M000005_source" class="dyn-source">
|
@@ -635,9 +635,9 @@ See Rumai::IXP::Client#open for details.
|
|
635
635
|
</div>
|
636
636
|
|
637
637
|
<div class="method">
|
638
|
-
<div class="title" id="
|
638
|
+
<div class="title" id="M000012">
|
639
639
|
|
640
|
-
<a name="
|
640
|
+
<a name="M000012"></a><b>parent</b>()
|
641
641
|
|
642
642
|
</div>
|
643
643
|
|
@@ -653,12 +653,12 @@ Returns the parent node of this node.
|
|
653
653
|
|
654
654
|
<div class="sourcecode">
|
655
655
|
<p class="source-link">
|
656
|
-
Source: <a href="javascript:toggleSource('
|
656
|
+
Source: <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show</a>
|
657
657
|
|
658
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
658
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L139" target="_blank" class="github_url">on GitHub</a>
|
659
659
|
|
660
660
|
</p>
|
661
|
-
<div id="
|
661
|
+
<div id="M000012_source" class="dyn-source">
|
662
662
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 139</span>
|
663
663
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parent</span>
|
664
664
|
<span class="ruby-ivar">@@cache</span>[ <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-ivar">@path</span>) ]
|
@@ -692,7 +692,7 @@ See Rumai::IXP::Client#read for details.
|
|
692
692
|
<p class="source-link">
|
693
693
|
Source: <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show</a>
|
694
694
|
|
695
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
695
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L91" target="_blank" class="github_url">on GitHub</a>
|
696
696
|
|
697
697
|
</p>
|
698
698
|
<div id="M000006_source" class="dyn-source">
|
@@ -706,9 +706,9 @@ See Rumai::IXP::Client#read for details.
|
|
706
706
|
</div>
|
707
707
|
|
708
708
|
<div class="method">
|
709
|
-
<div class="title" id="
|
709
|
+
<div class="title" id="M000010">
|
710
710
|
|
711
|
-
<a name="
|
711
|
+
<a name="M000010"></a><b>remove</b>()
|
712
712
|
|
713
713
|
</div>
|
714
714
|
|
@@ -725,12 +725,12 @@ href="IXP.html">IXP</a> server.
|
|
725
725
|
|
726
726
|
<div class="sourcecode">
|
727
727
|
<p class="source-link">
|
728
|
-
Source: <a href="javascript:toggleSource('
|
728
|
+
Source: <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show</a>
|
729
729
|
|
730
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
730
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L125" target="_blank" class="github_url">on GitHub</a>
|
731
731
|
|
732
732
|
</p>
|
733
|
-
<div id="
|
733
|
+
<div id="M000010_source" class="dyn-source">
|
734
734
|
<pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 125</span>
|
735
735
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>
|
736
736
|
<span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">remove</span> <span class="ruby-ivar">@path</span>
|
@@ -764,7 +764,7 @@ See Rumai::IXP::Client#stat for details.
|
|
764
764
|
<p class="source-link">
|
765
765
|
Source: <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show</a>
|
766
766
|
|
767
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
767
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L48" target="_blank" class="github_url">on GitHub</a>
|
768
768
|
|
769
769
|
</p>
|
770
770
|
<div id="M000001_source" class="dyn-source">
|
@@ -798,7 +798,7 @@ Writes the given content to this node.
|
|
798
798
|
<p class="source-link">
|
799
799
|
Source: <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show</a>
|
800
800
|
|
801
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
801
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/fs.rb#L109" target="_blank" class="github_url">on GitHub</a>
|
802
802
|
|
803
803
|
</p>
|
804
804
|
<div id="M000008_source" class="dyn-source">
|
@@ -56,17 +56,17 @@ The visualization of a tag.
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000095">area_ids</a>,</li>
|
60
60
|
|
61
|
-
<li><a href="#
|
61
|
+
<li><a href="#M000092">area_of_client</a>,</li>
|
62
62
|
|
63
|
-
<li><a href="#
|
63
|
+
<li><a href="#M000096">areas</a>,</li>
|
64
64
|
|
65
|
-
<li><a href="#
|
65
|
+
<li><a href="#M000104">arrange_as_larswm</a>,</li>
|
66
66
|
|
67
|
-
<li><a href="#
|
67
|
+
<li><a href="#M000109">arrange_in_diamond</a>,</li>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000106">arrange_in_grid</a></li>
|
70
70
|
|
71
71
|
</ul>
|
72
72
|
</dd>
|
@@ -75,13 +75,13 @@ The visualization of a tag.
|
|
75
75
|
<dd>
|
76
76
|
<ul>
|
77
77
|
|
78
|
-
<li><a href="#
|
78
|
+
<li><a href="#M000085">chain</a>,</li>
|
79
79
|
|
80
|
-
<li><a href="#
|
80
|
+
<li><a href="#M000087">client_ids</a>,</li>
|
81
81
|
|
82
|
-
<li><a href="#
|
82
|
+
<li><a href="#M000100">columns</a>,</li>
|
83
83
|
|
84
|
-
<li><a href="#
|
84
|
+
<li><a href="#M000083">curr</a></li>
|
85
85
|
|
86
86
|
</ul>
|
87
87
|
</dd>
|
@@ -90,11 +90,11 @@ The visualization of a tag.
|
|
90
90
|
<dd>
|
91
91
|
<ul>
|
92
92
|
|
93
|
-
<li><a href="#
|
93
|
+
<li><a href="#M000088">each</a>,</li>
|
94
94
|
|
95
|
-
<li><a href="#
|
95
|
+
<li><a href="#M000102">each_column</a>,</li>
|
96
96
|
|
97
|
-
<li><a href="#
|
97
|
+
<li><a href="#M000103">each_managed_area</a></li>
|
98
98
|
|
99
99
|
</ul>
|
100
100
|
</dd>
|
@@ -103,9 +103,9 @@ The visualization of a tag.
|
|
103
103
|
<dd>
|
104
104
|
<ul>
|
105
105
|
|
106
|
-
<li><a href="#
|
106
|
+
<li><a href="#M000097">floating_area</a>,</li>
|
107
107
|
|
108
|
-
<li><a href="#
|
108
|
+
<li><a href="#M000084">focus</a></li>
|
109
109
|
|
110
110
|
</ul>
|
111
111
|
</dd>
|
@@ -114,9 +114,9 @@ The visualization of a tag.
|
|
114
114
|
<dd>
|
115
115
|
<ul>
|
116
116
|
|
117
|
-
<li><a href="#
|
117
|
+
<li><a href="#M000101">managed_areas</a>,</li>
|
118
118
|
|
119
|
-
<li><a href="#
|
119
|
+
<li><a href="#M000090">manifest</a></li>
|
120
120
|
|
121
121
|
</ul>
|
122
122
|
</dd>
|
@@ -125,7 +125,7 @@ The visualization of a tag.
|
|
125
125
|
<dd>
|
126
126
|
<ul>
|
127
127
|
|
128
|
-
<li><a href="#
|
128
|
+
<li><a href="#M000089">new</a></li>
|
129
129
|
|
130
130
|
</ul>
|
131
131
|
</dd>
|
@@ -134,7 +134,7 @@ The visualization of a tag.
|
|
134
134
|
<dd>
|
135
135
|
<ul>
|
136
136
|
|
137
|
-
<li><a href="#
|
137
|
+
<li><a href="#M000091">select</a></li>
|
138
138
|
|
139
139
|
</ul>
|
140
140
|
</dd>
|
@@ -148,21 +148,21 @@ The visualization of a tag.
|
|
148
148
|
|
149
149
|
<li>
|
150
150
|
|
151
|
-
<a href="
|
151
|
+
<a href="../Rumai.html">Rumai</a>
|
152
152
|
|
153
153
|
START:includes
|
154
154
|
</li>
|
155
155
|
|
156
156
|
<li>
|
157
157
|
|
158
|
-
<a href="
|
158
|
+
<a href="../Rumai.html">Rumai</a>
|
159
159
|
|
160
160
|
START:includes
|
161
161
|
</li>
|
162
162
|
|
163
163
|
<li>
|
164
164
|
|
165
|
-
<a href="
|
165
|
+
<a href="../Rumai.html">Rumai</a>
|
166
166
|
|
167
167
|
START:includes
|
168
168
|
</li>
|
@@ -189,9 +189,9 @@ The visualization of a tag.
|
|
189
189
|
<div class="sectiontitle">Class Public methods</div>
|
190
190
|
|
191
191
|
<div class="method">
|
192
|
-
<div class="title" id="
|
192
|
+
<div class="title" id="M000083">
|
193
193
|
|
194
|
-
<a name="
|
194
|
+
<a name="M000083"></a><b>curr</b>()
|
195
195
|
|
196
196
|
</div>
|
197
197
|
|
@@ -207,13 +207,13 @@ Returns the currently focused view.
|
|
207
207
|
|
208
208
|
<div class="sourcecode">
|
209
209
|
<p class="source-link">
|
210
|
-
Source: <a href="javascript:toggleSource('
|
210
|
+
Source: <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show</a>
|
211
211
|
|
212
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
212
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L703" target="_blank" class="github_url">on GitHub</a>
|
213
213
|
|
214
214
|
</p>
|
215
|
-
<div id="
|
216
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
215
|
+
<div id="M000083_source" class="dyn-source">
|
216
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 703</span>
|
217
217
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">curr</span>
|
218
218
|
<span class="ruby-identifier">new</span> <span class="ruby-constant">FOCUSED_WIDGET_ID</span>
|
219
219
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -223,9 +223,9 @@ Returns the currently focused view.
|
|
223
223
|
</div>
|
224
224
|
|
225
225
|
<div class="method">
|
226
|
-
<div class="title" id="
|
226
|
+
<div class="title" id="M000089">
|
227
227
|
|
228
|
-
<a name="
|
228
|
+
<a name="M000089"></a><b>new</b>(view_id)
|
229
229
|
|
230
230
|
</div>
|
231
231
|
|
@@ -234,13 +234,13 @@ Returns the currently focused view.
|
|
234
234
|
|
235
235
|
<div class="sourcecode">
|
236
236
|
<p class="source-link">
|
237
|
-
Source: <a href="javascript:toggleSource('
|
237
|
+
Source: <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show</a>
|
238
238
|
|
239
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
239
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L742" target="_blank" class="github_url">on GitHub</a>
|
240
240
|
|
241
241
|
</p>
|
242
|
-
<div id="
|
243
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
242
|
+
<div id="M000089_source" class="dyn-source">
|
243
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 742</span>
|
244
244
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">view_id</span>
|
245
245
|
<span class="ruby-keyword kw">super</span> <span class="ruby-identifier">view_id</span>, <span class="ruby-value str">'/tag'</span>
|
246
246
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -252,9 +252,9 @@ Returns the currently focused view.
|
|
252
252
|
<div class="sectiontitle">Instance Public methods</div>
|
253
253
|
|
254
254
|
<div class="method">
|
255
|
-
<div class="title" id="
|
255
|
+
<div class="title" id="M000095">
|
256
256
|
|
257
|
-
<a name="
|
257
|
+
<a name="M000095"></a><b>area_ids</b>()
|
258
258
|
|
259
259
|
</div>
|
260
260
|
|
@@ -270,13 +270,13 @@ Returns the IDs of all areas in this view.
|
|
270
270
|
|
271
271
|
<div class="sourcecode">
|
272
272
|
<p class="source-link">
|
273
|
-
Source: <a href="javascript:toggleSource('
|
273
|
+
Source: <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show</a>
|
274
274
|
|
275
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
275
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L784" target="_blank" class="github_url">on GitHub</a>
|
276
276
|
|
277
277
|
</p>
|
278
|
-
<div id="
|
279
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
278
|
+
<div id="M000095_source" class="dyn-source">
|
279
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 784</span>
|
280
280
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_ids</span>
|
281
281
|
<span class="ruby-identifier">manifest</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">/^# (\d+)/</span>).<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-constant">FLOATING_AREA_ID</span>)
|
282
282
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -286,9 +286,9 @@ Returns the IDs of all areas in this view.
|
|
286
286
|
</div>
|
287
287
|
|
288
288
|
<div class="method">
|
289
|
-
<div class="title" id="
|
289
|
+
<div class="title" id="M000092">
|
290
290
|
|
291
|
-
<a name="
|
291
|
+
<a name="M000092"></a><b>area_of_client</b>(client_or_id)
|
292
292
|
|
293
293
|
</div>
|
294
294
|
|
@@ -304,13 +304,13 @@ Returns the area which contains the given client in this view.
|
|
304
304
|
|
305
305
|
<div class="sourcecode">
|
306
306
|
<p class="source-link">
|
307
|
-
Source: <a href="javascript:toggleSource('
|
307
|
+
Source: <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show</a>
|
308
308
|
|
309
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
309
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L767" target="_blank" class="github_url">on GitHub</a>
|
310
310
|
|
311
311
|
</p>
|
312
|
-
<div id="
|
313
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
312
|
+
<div id="M000092_source" class="dyn-source">
|
313
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 767</span>
|
314
314
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">area_of_client</span> <span class="ruby-identifier">client_or_id</span>
|
315
315
|
<span class="ruby-identifier">arg</span> =
|
316
316
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">client_or_id</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:id</span>
|
@@ -330,9 +330,9 @@ Returns the area which contains the given client in this view.
|
|
330
330
|
</div>
|
331
331
|
|
332
332
|
<div class="method">
|
333
|
-
<div class="title" id="
|
333
|
+
<div class="title" id="M000096">
|
334
334
|
|
335
|
-
<a name="
|
335
|
+
<a name="M000096"></a><b>areas</b>()
|
336
336
|
|
337
337
|
</div>
|
338
338
|
|
@@ -348,13 +348,13 @@ Returns all areas in this view.
|
|
348
348
|
|
349
349
|
<div class="sourcecode">
|
350
350
|
<p class="source-link">
|
351
|
-
Source: <a href="javascript:toggleSource('
|
351
|
+
Source: <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show</a>
|
352
352
|
|
353
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
353
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L791" target="_blank" class="github_url">on GitHub</a>
|
354
354
|
|
355
355
|
</p>
|
356
|
-
<div id="
|
357
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
356
|
+
<div id="M000096_source" class="dyn-source">
|
357
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 791</span>
|
358
358
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">areas</span>
|
359
359
|
<span class="ruby-identifier">area_ids</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-constant">Area</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">i</span>, <span class="ruby-keyword kw">self</span> }
|
360
360
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -364,9 +364,9 @@ Returns all areas in this view.
|
|
364
364
|
</div>
|
365
365
|
|
366
366
|
<div class="method">
|
367
|
-
<div class="title" id="
|
367
|
+
<div class="title" id="M000104">
|
368
368
|
|
369
|
-
<a name="
|
369
|
+
<a name="M000104"></a><b>arrange_as_larswm</b>()
|
370
370
|
|
371
371
|
</div>
|
372
372
|
|
@@ -388,13 +388,13 @@ squeezed into the <b>bottom</b> of the secondary column.
|
|
388
388
|
|
389
389
|
<div class="sourcecode">
|
390
390
|
<p class="source-link">
|
391
|
-
Source: <a href="javascript:toggleSource('
|
391
|
+
Source: <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show</a>
|
392
392
|
|
393
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
393
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L843" target="_blank" class="github_url">on GitHub</a>
|
394
394
|
|
395
395
|
</p>
|
396
|
-
<div id="
|
397
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
396
|
+
<div id="M000104_source" class="dyn-source">
|
397
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 843</span>
|
398
398
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_as_larswm</span>
|
399
399
|
<span class="ruby-identifier">maintain_focus</span> <span class="ruby-keyword kw">do</span>
|
400
400
|
<span class="ruby-comment cmt"># keep only one client in the primary column</span>
|
@@ -422,9 +422,9 @@ squeezed into the <b>bottom</b> of the secondary column.
|
|
422
422
|
</div>
|
423
423
|
|
424
424
|
<div class="method">
|
425
|
-
<div class="title" id="
|
425
|
+
<div class="title" id="M000109">
|
426
426
|
|
427
|
-
<a name="
|
427
|
+
<a name="M000109"></a><b>arrange_in_diamond</b>()
|
428
428
|
|
429
429
|
</div>
|
430
430
|
|
@@ -442,13 +442,13 @@ appears like a diamond because wmii does not waste screen space.
|
|
442
442
|
|
443
443
|
<div class="sourcecode">
|
444
444
|
<p class="source-link">
|
445
|
-
Source: <a href="javascript:toggleSource('
|
445
|
+
Source: <a href="javascript:toggleSource('M000109_source')" id="l_M000109_source">show</a>
|
446
446
|
|
447
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
447
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L897" target="_blank" class="github_url">on GitHub</a>
|
448
448
|
|
449
449
|
</p>
|
450
|
-
<div id="
|
451
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
450
|
+
<div id="M000109_source" class="dyn-source">
|
451
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 897</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_diamond</span>
|
453
453
|
<span class="ruby-identifier">num_clients</span> = <span class="ruby-identifier">num_managed_clients</span>
|
454
454
|
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">num_clients</span> <span class="ruby-operator">></span> <span class="ruby-value">1</span>
|
@@ -492,9 +492,9 @@ appears like a diamond because wmii does not waste screen space.
|
|
492
492
|
</div>
|
493
493
|
|
494
494
|
<div class="method">
|
495
|
-
<div class="title" id="
|
495
|
+
<div class="title" id="M000106">
|
496
496
|
|
497
|
-
<a name="
|
497
|
+
<a name="M000106"></a><b>arrange_in_grid</b>(max_clients_per_column = nil)
|
498
498
|
|
499
499
|
</div>
|
500
500
|
|
@@ -511,13 +511,13 @@ in a (at best) square grid.
|
|
511
511
|
|
512
512
|
<div class="sourcecode">
|
513
513
|
<p class="source-link">
|
514
|
-
Source: <a href="javascript:toggleSource('
|
514
|
+
Source: <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show</a>
|
515
515
|
|
516
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
516
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L869" target="_blank" class="github_url">on GitHub</a>
|
517
517
|
|
518
518
|
</p>
|
519
|
-
<div id="
|
520
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
519
|
+
<div id="M000106_source" class="dyn-source">
|
520
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 869</span>
|
521
521
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">arrange_in_grid</span> <span class="ruby-identifier">max_clients_per_column</span> = <span class="ruby-keyword kw">nil</span>
|
522
522
|
<span class="ruby-comment cmt"># compute client distribution</span>
|
523
523
|
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">max_clients_per_column</span>
|
@@ -544,9 +544,9 @@ in a (at best) square grid.
|
|
544
544
|
</div>
|
545
545
|
|
546
546
|
<div class="method">
|
547
|
-
<div class="title" id="
|
547
|
+
<div class="title" id="M000085">
|
548
548
|
|
549
|
-
<a name="
|
549
|
+
<a name="M000085"></a><b>chain</b>()
|
550
550
|
|
551
551
|
</div>
|
552
552
|
|
@@ -562,13 +562,13 @@ Returns a list of all views.
|
|
562
562
|
|
563
563
|
<div class="sourcecode">
|
564
564
|
<p class="source-link">
|
565
|
-
Source: <a href="javascript:toggleSource('
|
565
|
+
Source: <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show</a>
|
566
566
|
|
567
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
567
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L719" target="_blank" class="github_url">on GitHub</a>
|
568
568
|
|
569
569
|
</p>
|
570
|
-
<div id="
|
571
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
570
|
+
<div id="M000085_source" class="dyn-source">
|
571
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 719</span>
|
572
572
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chain</span>
|
573
573
|
<span class="ruby-constant">Rumai</span>.<span class="ruby-identifier">views</span>
|
574
574
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -578,9 +578,9 @@ Returns a list of all views.
|
|
578
578
|
</div>
|
579
579
|
|
580
580
|
<div class="method">
|
581
|
-
<div class="title" id="
|
581
|
+
<div class="title" id="M000087">
|
582
582
|
|
583
|
-
<a name="
|
583
|
+
<a name="M000087"></a><b>client_ids</b>(area_id = '\S+')
|
584
584
|
|
585
585
|
</div>
|
586
586
|
|
@@ -597,13 +597,13 @@ view.
|
|
597
597
|
|
598
598
|
<div class="sourcecode">
|
599
599
|
<p class="source-link">
|
600
|
-
Source: <a href="javascript:toggleSource('
|
600
|
+
Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
|
601
601
|
|
602
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
602
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L729" target="_blank" class="github_url">on GitHub</a>
|
603
603
|
|
604
604
|
</p>
|
605
|
-
<div id="
|
606
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
605
|
+
<div id="M000087_source" class="dyn-source">
|
606
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 729</span>
|
607
607
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span> <span class="ruby-identifier">area_id</span> = <span class="ruby-value str">'\S+'</span>
|
608
608
|
<span class="ruby-identifier">manifest</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-node">/^#{area_id} (0x\S+)/</span>).<span class="ruby-identifier">flatten</span>
|
609
609
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -613,9 +613,9 @@ view.
|
|
613
613
|
</div>
|
614
614
|
|
615
615
|
<div class="method">
|
616
|
-
<div class="title" id="
|
616
|
+
<div class="title" id="M000100">
|
617
617
|
|
618
|
-
<a name="
|
618
|
+
<a name="M000100"></a><b>columns</b>()
|
619
619
|
|
620
620
|
</div>
|
621
621
|
|
@@ -630,7 +630,7 @@ Returns all columns (managed areas) in this view.
|
|
630
630
|
<div class="aka">
|
631
631
|
This method is also aliased as
|
632
632
|
|
633
|
-
<a href="View.html#
|
633
|
+
<a href="View.html#M000101">managed_areas</a>
|
634
634
|
|
635
635
|
</div>
|
636
636
|
|
@@ -638,13 +638,13 @@ Returns all columns (managed areas) in this view.
|
|
638
638
|
|
639
639
|
<div class="sourcecode">
|
640
640
|
<p class="source-link">
|
641
|
-
Source: <a href="javascript:toggleSource('
|
641
|
+
Source: <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show</a>
|
642
642
|
|
643
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
643
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L805" target="_blank" class="github_url">on GitHub</a>
|
644
644
|
|
645
645
|
</p>
|
646
|
-
<div id="
|
647
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
646
|
+
<div id="M000100_source" class="dyn-source">
|
647
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 805</span>
|
648
648
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">columns</span>
|
649
649
|
<span class="ruby-identifier">areas</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
650
650
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -654,9 +654,9 @@ Returns all columns (managed areas) in this view.
|
|
654
654
|
</div>
|
655
655
|
|
656
656
|
<div class="method">
|
657
|
-
<div class="title" id="
|
657
|
+
<div class="title" id="M000088">
|
658
658
|
|
659
|
-
<a name="
|
659
|
+
<a name="M000088"></a><b>each</b>(&block)
|
660
660
|
|
661
661
|
</div>
|
662
662
|
|
@@ -672,13 +672,13 @@ Iterates through each area in this view.
|
|
672
672
|
|
673
673
|
<div class="sourcecode">
|
674
674
|
<p class="source-link">
|
675
|
-
Source: <a href="javascript:toggleSource('
|
675
|
+
Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
|
676
676
|
|
677
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
677
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L738" target="_blank" class="github_url">on GitHub</a>
|
678
678
|
|
679
679
|
</p>
|
680
|
-
<div id="
|
681
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
680
|
+
<div id="M000088_source" class="dyn-source">
|
681
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 738</span>
|
682
682
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>
|
683
683
|
<span class="ruby-identifier">areas</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
684
684
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -688,9 +688,9 @@ Iterates through each area in this view.
|
|
688
688
|
</div>
|
689
689
|
|
690
690
|
<div class="method">
|
691
|
-
<div class="title" id="
|
691
|
+
<div class="title" id="M000102">
|
692
692
|
|
693
|
-
<a name="
|
693
|
+
<a name="M000102"></a><b>each_column</b>(starting_column_id = 1)
|
694
694
|
|
695
695
|
</div>
|
696
696
|
|
@@ -707,7 +707,7 @@ processed in the iteration.
|
|
707
707
|
<div class="aka">
|
708
708
|
This method is also aliased as
|
709
709
|
|
710
|
-
<a href="View.html#
|
710
|
+
<a href="View.html#M000103">each_managed_area</a>
|
711
711
|
|
712
712
|
</div>
|
713
713
|
|
@@ -715,13 +715,13 @@ processed in the iteration.
|
|
715
715
|
|
716
716
|
<div class="sourcecode">
|
717
717
|
<p class="source-link">
|
718
|
-
Source: <a href="javascript:toggleSource('
|
718
|
+
Source: <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show</a>
|
719
719
|
|
720
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
720
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L816" target="_blank" class="github_url">on GitHub</a>
|
721
721
|
|
722
722
|
</p>
|
723
|
-
<div id="
|
724
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
723
|
+
<div id="M000102_source" class="dyn-source">
|
724
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 816</span>
|
725
725
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_column</span> <span class="ruby-identifier">starting_column_id</span> = <span class="ruby-value">1</span>
|
726
726
|
<span class="ruby-identifier">i</span> = <span class="ruby-identifier">starting_column_id</span>
|
727
727
|
<span class="ruby-identifier">loop</span> <span class="ruby-keyword kw">do</span>
|
@@ -742,15 +742,15 @@ processed in the iteration.
|
|
742
742
|
</div>
|
743
743
|
|
744
744
|
<div class="method">
|
745
|
-
<div class="title" id="
|
745
|
+
<div class="title" id="M000103">
|
746
746
|
|
747
|
-
<a name="
|
747
|
+
<a name="M000103"></a><b>each_managed_area</b>(starting_column_id = 1)
|
748
748
|
|
749
749
|
</div>
|
750
750
|
|
751
751
|
<div class="description">
|
752
752
|
<p>
|
753
|
-
Alias for <a href="View.html#
|
753
|
+
Alias for <a href="View.html#M000102">each_column</a>
|
754
754
|
</p>
|
755
755
|
|
756
756
|
</div>
|
@@ -760,9 +760,9 @@ Alias for <a href="View.html#M000114">each_column</a>
|
|
760
760
|
</div>
|
761
761
|
|
762
762
|
<div class="method">
|
763
|
-
<div class="title" id="
|
763
|
+
<div class="title" id="M000097">
|
764
764
|
|
765
|
-
<a name="
|
765
|
+
<a name="M000097"></a><b>floating_area</b>()
|
766
766
|
|
767
767
|
</div>
|
768
768
|
|
@@ -778,13 +778,13 @@ Returns the floating area of this view.
|
|
778
778
|
|
779
779
|
<div class="sourcecode">
|
780
780
|
<p class="source-link">
|
781
|
-
Source: <a href="javascript:toggleSource('
|
781
|
+
Source: <a href="javascript:toggleSource('M000097_source')" id="l_M000097_source">show</a>
|
782
782
|
|
783
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
783
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L798" target="_blank" class="github_url">on GitHub</a>
|
784
784
|
|
785
785
|
</p>
|
786
|
-
<div id="
|
787
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
786
|
+
<div id="M000097_source" class="dyn-source">
|
787
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 798</span>
|
788
788
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">floating_area</span>
|
789
789
|
<span class="ruby-constant">Area</span>.<span class="ruby-identifier">floating</span> <span class="ruby-keyword kw">self</span>
|
790
790
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -794,9 +794,9 @@ Returns the floating area of this view.
|
|
794
794
|
</div>
|
795
795
|
|
796
796
|
<div class="method">
|
797
|
-
<div class="title" id="
|
797
|
+
<div class="title" id="M000084">
|
798
798
|
|
799
|
-
<a name="
|
799
|
+
<a name="M000084"></a><b>focus</b>()
|
800
800
|
|
801
801
|
</div>
|
802
802
|
|
@@ -812,13 +812,13 @@ Focuses this view.
|
|
812
812
|
|
813
813
|
<div class="sourcecode">
|
814
814
|
<p class="source-link">
|
815
|
-
Source: <a href="javascript:toggleSource('
|
815
|
+
Source: <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show</a>
|
816
816
|
|
817
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
817
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L710" target="_blank" class="github_url">on GitHub</a>
|
818
818
|
|
819
819
|
</p>
|
820
|
-
<div id="
|
821
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
820
|
+
<div id="M000084_source" class="dyn-source">
|
821
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 710</span>
|
822
822
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus</span>
|
823
823
|
<span class="ruby-constant">IXP_FS_ROOT</span>.<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"view #{@id}"</span>
|
824
824
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -828,15 +828,15 @@ Focuses this view.
|
|
828
828
|
</div>
|
829
829
|
|
830
830
|
<div class="method">
|
831
|
-
<div class="title" id="
|
831
|
+
<div class="title" id="M000101">
|
832
832
|
|
833
|
-
<a name="
|
833
|
+
<a name="M000101"></a><b>managed_areas</b>()
|
834
834
|
|
835
835
|
</div>
|
836
836
|
|
837
837
|
<div class="description">
|
838
838
|
<p>
|
839
|
-
Alias for <a href="View.html#
|
839
|
+
Alias for <a href="View.html#M000100">columns</a>
|
840
840
|
</p>
|
841
841
|
|
842
842
|
</div>
|
@@ -846,9 +846,9 @@ Alias for <a href="View.html#M000112">columns</a>
|
|
846
846
|
</div>
|
847
847
|
|
848
848
|
<div class="method">
|
849
|
-
<div class="title" id="
|
849
|
+
<div class="title" id="M000090">
|
850
850
|
|
851
|
-
<a name="
|
851
|
+
<a name="M000090"></a><b>manifest</b>()
|
852
852
|
|
853
853
|
</div>
|
854
854
|
|
@@ -864,13 +864,13 @@ Returns the manifest of all areas and clients in this view.
|
|
864
864
|
|
865
865
|
<div class="sourcecode">
|
866
866
|
<p class="source-link">
|
867
|
-
Source: <a href="javascript:toggleSource('
|
867
|
+
Source: <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show</a>
|
868
868
|
|
869
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
869
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L751" target="_blank" class="github_url">on GitHub</a>
|
870
870
|
|
871
871
|
</p>
|
872
|
-
<div id="
|
873
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
872
|
+
<div id="M000090_source" class="dyn-source">
|
873
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 751</span>
|
874
874
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">manifest</span>
|
875
875
|
<span class="ruby-identifier">index</span>.<span class="ruby-identifier">read</span> <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>
|
876
876
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -880,9 +880,9 @@ Returns the manifest of all areas and clients in this view.
|
|
880
880
|
</div>
|
881
881
|
|
882
882
|
<div class="method">
|
883
|
-
<div class="title" id="
|
883
|
+
<div class="title" id="M000091">
|
884
884
|
|
885
|
-
<a name="
|
885
|
+
<a name="M000091"></a><b>select</b>(direction)
|
886
886
|
|
887
887
|
</div>
|
888
888
|
|
@@ -898,13 +898,13 @@ Moves the focus from the current client in the given direction.
|
|
898
898
|
|
899
899
|
<div class="sourcecode">
|
900
900
|
<p class="source-link">
|
901
|
-
Source: <a href="javascript:toggleSource('
|
901
|
+
Source: <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show</a>
|
902
902
|
|
903
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
903
|
+
| <a href="http://github.com/sunaku/rumai/blob/68157cba221ac3cbed28a6a5882b57f4db0516a9/lib/rumai/wm.rb#L758" target="_blank" class="github_url">on GitHub</a>
|
904
904
|
|
905
905
|
</p>
|
906
|
-
<div id="
|
907
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
906
|
+
<div id="M000091_source" class="dyn-source">
|
907
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 758</span>
|
908
908
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">select</span> <span class="ruby-identifier">direction</span>
|
909
909
|
<span class="ruby-identifier">ctl</span>.<span class="ruby-identifier">write</span> <span class="ruby-node">"select #{direction}"</span>
|
910
910
|
<span class="ruby-keyword kw">end</span></pre>
|