rumai 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. data/CREDITS +2 -0
  2. data/bin/rumai +20 -8
  3. data/doc/api/classes/IO.html +72 -0
  4. data/doc/api/classes/Integer.html +110 -0
  5. data/doc/api/classes/Object.html +60 -0
  6. data/doc/api/classes/Rumai.html +867 -0
  7. data/doc/api/classes/Rumai/Area.html +836 -0
  8. data/doc/api/classes/Rumai/Chain.html +197 -0
  9. data/doc/api/classes/Rumai/Client.html +865 -0
  10. data/doc/api/classes/Rumai/ClientContainer.html +191 -0
  11. data/doc/api/classes/Rumai/ExportInstanceMethods.html +69 -0
  12. data/doc/api/classes/Rumai/IXP.html +131 -0
  13. data/doc/api/classes/Rumai/IXP/Agent.html +836 -0
  14. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +456 -0
  15. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +108 -0
  16. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +241 -0
  17. data/doc/api/classes/Rumai/IXP/Error.html +67 -0
  18. data/doc/api/classes/Rumai/IXP/Fcall.html +323 -0
  19. data/doc/api/classes/Rumai/IXP/Qid.html +153 -0
  20. data/doc/api/classes/Rumai/IXP/Rattach.html +67 -0
  21. data/doc/api/classes/Rumai/IXP/Rauth.html +67 -0
  22. data/doc/api/classes/Rumai/IXP/Rclunk.html +67 -0
  23. data/doc/api/classes/Rumai/IXP/Rcreate.html +67 -0
  24. data/doc/api/classes/Rumai/IXP/Rerror.html +67 -0
  25. data/doc/api/classes/Rumai/IXP/Rflush.html +67 -0
  26. data/doc/api/classes/Rumai/IXP/Ropen.html +67 -0
  27. data/doc/api/classes/Rumai/IXP/Rread.html +67 -0
  28. data/doc/api/classes/Rumai/IXP/Rremove.html +67 -0
  29. data/doc/api/classes/Rumai/IXP/Rstat.html +67 -0
  30. data/doc/api/classes/Rumai/IXP/Rversion.html +67 -0
  31. data/doc/api/classes/Rumai/IXP/Rwalk.html +67 -0
  32. data/doc/api/classes/Rumai/IXP/Rwrite.html +67 -0
  33. data/doc/api/classes/Rumai/IXP/Rwstat.html +67 -0
  34. data/doc/api/classes/Rumai/IXP/Stat.html +252 -0
  35. data/doc/api/classes/Rumai/IXP/Stream.html +131 -0
  36. data/doc/api/classes/Rumai/IXP/Struct.html +315 -0
  37. data/doc/api/classes/Rumai/IXP/Struct/Field.html +415 -0
  38. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +153 -0
  39. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +104 -0
  40. data/doc/api/classes/Rumai/IXP/Tattach.html +68 -0
  41. data/doc/api/classes/Rumai/IXP/Tauth.html +67 -0
  42. data/doc/api/classes/Rumai/IXP/Tclunk.html +67 -0
  43. data/doc/api/classes/Rumai/IXP/Tcreate.html +68 -0
  44. data/doc/api/classes/Rumai/IXP/Terror.html +110 -0
  45. data/doc/api/classes/Rumai/IXP/Tflush.html +67 -0
  46. data/doc/api/classes/Rumai/IXP/Topen.html +165 -0
  47. data/doc/api/classes/Rumai/IXP/Tread.html +67 -0
  48. data/doc/api/classes/Rumai/IXP/Tremove.html +67 -0
  49. data/doc/api/classes/Rumai/IXP/Tstat.html +67 -0
  50. data/doc/api/classes/Rumai/IXP/Tversion.html +86 -0
  51. data/doc/api/classes/Rumai/IXP/Twalk.html +68 -0
  52. data/doc/api/classes/Rumai/IXP/Twrite.html +68 -0
  53. data/doc/api/classes/Rumai/IXP/Twstat.html +67 -0
  54. data/doc/api/classes/Rumai/Node.html +817 -0
  55. data/doc/api/classes/Rumai/View.html +818 -0
  56. data/doc/api/classes/Rumai/WidgetImpl.html +65 -0
  57. data/doc/api/classes/Rumai/WidgetNode.html +68 -0
  58. data/doc/api/classes/String.html +163 -0
  59. data/doc/api/classes/StringIO.html +72 -0
  60. data/doc/api/classes/Time.html +156 -0
  61. data/doc/api/created.rid +1 -0
  62. data/doc/api/css/main.css +263 -0
  63. data/doc/api/css/panel.css +383 -0
  64. data/doc/api/css/reset.css +53 -0
  65. data/doc/api/files/CREDITS.html +64 -0
  66. data/doc/api/files/LICENSE.html +76 -0
  67. data/doc/api/files/lib/rumai/fs_rb.html +75 -0
  68. data/doc/api/files/lib/rumai/ixp/message_rb.html +91 -0
  69. data/doc/api/files/lib/rumai/ixp/transport_rb.html +75 -0
  70. data/doc/api/files/lib/rumai/ixp_rb.html +69 -0
  71. data/doc/api/files/lib/rumai/wm_rb.html +77 -0
  72. data/doc/api/files/lib/rumai_rb.html +65 -0
  73. data/doc/api/i/arrows.png +0 -0
  74. data/doc/api/i/results_bg.png +0 -0
  75. data/doc/api/i/tree_bg.png +0 -0
  76. data/doc/api/index.html +14 -18
  77. data/doc/api/js/jquery-1.3.2.min.js +19 -0
  78. data/doc/api/js/jquery-effect.js +593 -0
  79. data/doc/api/js/main.js +22 -0
  80. data/doc/api/js/searchdoc.js +605 -0
  81. data/doc/api/panel/index.html +63 -0
  82. data/doc/api/panel/search_index.js +1 -0
  83. data/doc/api/panel/tree.js +1 -0
  84. data/doc/history.erb +41 -16
  85. data/doc/index.erb +14 -11
  86. data/doc/index.xhtml +519 -846
  87. data/doc/intro.erb +33 -32
  88. data/doc/setup.erb +14 -13
  89. data/doc/usage.erb +69 -35
  90. data/lib/rumai.rb +13 -5
  91. data/lib/rumai/fs.rb +71 -27
  92. data/lib/rumai/ixp.rb +4 -0
  93. data/lib/rumai/ixp/message.rb +178 -81
  94. data/lib/rumai/ixp/transport.rb +144 -91
  95. data/lib/rumai/wm.rb +717 -593
  96. data/rakefile +14 -0
  97. data/test/rumai/ixp/message.rb +42 -54
  98. metadata +110 -89
  99. data/Rakefile +0 -8
  100. data/doc/api/IO.html +0 -53
  101. data/doc/api/Integer.html +0 -102
  102. data/doc/api/Object.html +0 -23
  103. data/doc/api/Rumai.html +0 -1218
  104. data/doc/api/Rumai/Area.html +0 -1088
  105. data/doc/api/Rumai/Chain.html +0 -230
  106. data/doc/api/Rumai/Client.html +0 -1264
  107. data/doc/api/Rumai/ClientContainer.html +0 -227
  108. data/doc/api/Rumai/ExportInstMethods.html +0 -115
  109. data/doc/api/Rumai/IXP.html +0 -23
  110. data/doc/api/Rumai/IXP/Agent.html +0 -1222
  111. data/doc/api/Rumai/IXP/Agent/FidStream.html +0 -602
  112. data/doc/api/Rumai/IXP/Agent/RangedPool.html +0 -263
  113. data/doc/api/Rumai/IXP/Error.html +0 -32
  114. data/doc/api/Rumai/IXP/Fcall.html +0 -398
  115. data/doc/api/Rumai/IXP/Qid.html +0 -99
  116. data/doc/api/Rumai/IXP/Rattach.html +0 -71
  117. data/doc/api/Rumai/IXP/Rauth.html +0 -71
  118. data/doc/api/Rumai/IXP/Rclunk.html +0 -71
  119. data/doc/api/Rumai/IXP/Rcreate.html +0 -71
  120. data/doc/api/Rumai/IXP/Rerror.html +0 -71
  121. data/doc/api/Rumai/IXP/Rflush.html +0 -71
  122. data/doc/api/Rumai/IXP/Ropen.html +0 -71
  123. data/doc/api/Rumai/IXP/Rread.html +0 -71
  124. data/doc/api/Rumai/IXP/Rremove.html +0 -71
  125. data/doc/api/Rumai/IXP/Rstat.html +0 -71
  126. data/doc/api/Rumai/IXP/Rversion.html +0 -71
  127. data/doc/api/Rumai/IXP/Rwalk.html +0 -71
  128. data/doc/api/Rumai/IXP/Rwrite.html +0 -71
  129. data/doc/api/Rumai/IXP/Rwstat.html +0 -71
  130. data/doc/api/Rumai/IXP/Stat.html +0 -188
  131. data/doc/api/Rumai/IXP/Stream.html +0 -112
  132. data/doc/api/Rumai/IXP/Struct.html +0 -348
  133. data/doc/api/Rumai/IXP/Struct/ClassField.html +0 -177
  134. data/doc/api/Rumai/IXP/Struct/Field.html +0 -549
  135. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +0 -175
  136. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +0 -95
  137. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +0 -181
  138. data/doc/api/Rumai/IXP/Struct/StringField.html +0 -128
  139. data/doc/api/Rumai/IXP/Tattach.html +0 -71
  140. data/doc/api/Rumai/IXP/Tauth.html +0 -71
  141. data/doc/api/Rumai/IXP/Tclunk.html +0 -71
  142. data/doc/api/Rumai/IXP/Tcreate.html +0 -71
  143. data/doc/api/Rumai/IXP/Terror.html +0 -156
  144. data/doc/api/Rumai/IXP/Tflush.html +0 -71
  145. data/doc/api/Rumai/IXP/Topen.html +0 -113
  146. data/doc/api/Rumai/IXP/Tread.html +0 -71
  147. data/doc/api/Rumai/IXP/Tremove.html +0 -71
  148. data/doc/api/Rumai/IXP/Tstat.html +0 -71
  149. data/doc/api/Rumai/IXP/Tversion.html +0 -83
  150. data/doc/api/Rumai/IXP/Twalk.html +0 -71
  151. data/doc/api/Rumai/IXP/Twrite.html +0 -71
  152. data/doc/api/Rumai/IXP/Twstat.html +0 -71
  153. data/doc/api/Rumai/Node.html +0 -1139
  154. data/doc/api/Rumai/View.html +0 -1280
  155. data/doc/api/Rumai/WidgetImpl.html +0 -196
  156. data/doc/api/Rumai/WidgetNode.html +0 -184
  157. data/doc/api/String.html +0 -180
  158. data/doc/api/StringIO.html +0 -53
  159. data/doc/api/Time.html +0 -175
  160. data/doc/api/all-methods.html +0 -1436
  161. data/doc/api/all-namespaces.html +0 -140
  162. data/doc/api/app.js +0 -18
  163. data/doc/api/jquery.js +0 -11
  164. data/doc/api/readme.html +0 -38
  165. data/doc/api/style.css +0 -68
  166. data/doc/api/syntax_highlight.css +0 -21
  167. data/doc/theory.erb +0 -3
data/CREDITS ADDED
@@ -0,0 +1,2 @@
1
+ * Michael Andrus
2
+ * [Simon Hafner](http://github.com/Tass)
data/bin/rumai CHANGED
@@ -5,16 +5,21 @@
5
5
  # Usage:
6
6
  #
7
7
  # rumai [Options]
8
- # rumai [Options] -- irb_args
8
+ # rumai [Options] -- Arguments
9
9
  #
10
- # irb_args: Command-line options and arguments that should
10
+ # Arguments: Command-line options and arguments that should
11
11
  # be passed to `irb`, the interactive Ruby shell.
12
12
  #
13
13
  # Options:
14
14
  #
15
15
 
16
+ #--
17
+ # Copyright 2007 Suraj N. Kurapati
18
+ # See the LICENSE file for details.
19
+ #++
20
+
16
21
  require 'rubygems'
17
- gem 'inochi', '~> 0'
22
+ gem 'inochi', '~> 1'
18
23
  require 'inochi'
19
24
 
20
25
  Inochi.main :Rumai
@@ -22,15 +27,22 @@ Inochi.main :Rumai
22
27
  require 'irb'
23
28
  require 'irb/completion'
24
29
  module IRB
30
+ ##
25
31
  # Starts an IRB session *inside* the given object.
26
32
  #--
27
33
  # This code was adapted from a snippet on Massimiliano Mirra's website:
28
34
  # http://www.therubymine.com/articles/2007/01/29/programmare-dallinterno
29
- def self.start_session aContextObj
30
- setup nil
31
- session = Irb.new(WorkSpace.new(aContextObj))
32
- @CONF[:MAIN_CONTEXT] = session.context
33
- catch(:IRB_EXIT) { session.eval_input }
35
+ #
36
+ def self.start_session context
37
+ IRB.setup nil
38
+
39
+ env = IRB::WorkSpace.new(context)
40
+ irb = IRB::Irb.new(env)
41
+ IRB.conf[:MAIN_CONTEXT] = irb.context
42
+
43
+ catch :IRB_EXIT do
44
+ irb.eval_input
45
+ end
34
46
  end
35
47
  end
36
48
 
@@ -0,0 +1,72 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>IO</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Class</span>
19
+ IO
20
+
21
+ <span class="parent">&lt;
22
+
23
+ <a href="Object.html">Object</a>
24
+
25
+ </span>
26
+
27
+ </h1>
28
+ <ul class="files">
29
+
30
+ <li><a href="../files/lib/rumai/ixp/message_rb.html">lib/rumai/ixp/message.rb</a></li>
31
+
32
+ </ul>
33
+ </div>
34
+ <div id="bodyContent">
35
+ <div id="content">
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+ <div class="sectiontitle">Included Modules</div>
48
+ <ul>
49
+
50
+ <li>
51
+
52
+ <a href="Rumai/IXP/Struct/Field/CounterField.html">Rumai::IXP::Struct::Field::CounterField</a>
53
+
54
+ START:includes
55
+ </li>
56
+
57
+ </ul>
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+ </div>
70
+ </div>
71
+ </body>
72
+ </html>
@@ -0,0 +1,110 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>Integer</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Class</span>
19
+ Integer
20
+
21
+ <span class="parent">&lt;
22
+
23
+ <a href="Object.html">Object</a>
24
+
25
+ </span>
26
+
27
+ </h1>
28
+ <ul class="files">
29
+
30
+ <li><a href="../files/lib/rumai/ixp/message_rb.html">lib/rumai/ixp/message.rb</a></li>
31
+
32
+ </ul>
33
+ </div>
34
+ <div id="bodyContent">
35
+ <div id="content">
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+ <div class="sectiontitle">Methods</div>
46
+ <dl class="methods">
47
+
48
+ <dt>T</dt>
49
+ <dd>
50
+ <ul>
51
+
52
+ <li><a href="#M000154">to_9p</a></li>
53
+
54
+ </ul>
55
+ </dd>
56
+
57
+ </dl>
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+ <div class="sectiontitle">Instance Public methods</div>
72
+
73
+ <div class="method">
74
+ <div class="title" id="M000154">
75
+
76
+ <a name="M000154"></a><b>to_9p</b>(num_bytes)
77
+
78
+ </div>
79
+
80
+ <div class="description">
81
+ <p>
82
+ Transforms this object into a string of 9P2000 bytes.
83
+ </p>
84
+
85
+ </div>
86
+
87
+
88
+
89
+
90
+ <div class="sourcecode">
91
+ <p class="source-link">
92
+ Source: <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show</a>
93
+
94
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/message.rb#L672" target="_blank" class="github_url">on GitHub</a>
95
+
96
+ </p>
97
+ <div id="M000154_source" class="dyn-source">
98
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 672</span>
99
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">num_bytes</span>
100
+ [<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">pack</span> <span class="ruby-constant">Rumai</span><span class="ruby-operator">::</span><span class="ruby-constant">IXP</span><span class="ruby-operator">::</span><span class="ruby-constant">Stream</span><span class="ruby-operator">::</span><span class="ruby-constant">PACKING_FLAGS</span>[<span class="ruby-identifier">num_bytes</span>]
101
+ <span class="ruby-keyword kw">end</span></pre>
102
+ </div>
103
+ </div>
104
+
105
+ </div>
106
+
107
+ </div>
108
+ </div>
109
+ </body>
110
+ </html>
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>Object</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Class</span>
19
+ Object
20
+
21
+ <span class="parent">&lt;
22
+
23
+ <a href="Object.html">Object</a>
24
+
25
+ </span>
26
+
27
+ </h1>
28
+ <ul class="files">
29
+
30
+ <li><a href="../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
31
+
32
+ </ul>
33
+ </div>
34
+ <div id="bodyContent">
35
+ <div id="content">
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+ </div>
58
+ </div>
59
+ </body>
60
+ </html>
@@ -0,0 +1,867 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <title>Rumai</title>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
9
+ <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
10
+ <script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
+ <script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
+ <script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
13
+ </head>
14
+
15
+ <body>
16
+ <div class="banner">
17
+ <h1>
18
+ <span class="type">Module</span>
19
+ Rumai
20
+
21
+ </h1>
22
+ <ul class="files">
23
+
24
+ <li><a href="../files/lib/rumai/fs_rb.html">lib/rumai/fs.rb</a></li>
25
+
26
+ <li><a href="../files/lib/rumai/wm_rb.html">lib/rumai/wm.rb</a></li>
27
+
28
+ <li><a href="../files/lib/rumai/ixp/transport_rb.html">lib/rumai/ixp/transport.rb</a></li>
29
+
30
+ <li><a href="../files/lib/rumai/ixp/message_rb.html">lib/rumai/ixp/message.rb</a></li>
31
+
32
+ </ul>
33
+ </div>
34
+ <div id="bodyContent">
35
+ <div id="content">
36
+
37
+ <div class="description">
38
+ <p>
39
+ Primitives for the 9P2000 protocol.
40
+ </p>
41
+ <p>
42
+ See <a
43
+ href="http://cm.bell-labs.com/sys/man/5/INDEX.html">cm.bell-labs.com/sys/man/5/INDEX.html</a>
44
+ </p>
45
+ <p>
46
+ See <a
47
+ href="http://swtch.com/plan9port/man/man9/">swtch.com/plan9port/man/man9/</a>
48
+ </p>
49
+
50
+ </div>
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+ <div class="sectiontitle">Methods</div>
61
+ <dl class="methods">
62
+
63
+ <dt>C</dt>
64
+ <dd>
65
+ <ul>
66
+
67
+ <li><a href="#M000015">client_ids</a>,</li>
68
+
69
+ <li><a href="#M000119">curr_area</a>,</li>
70
+
71
+ <li><a href="#M000116">curr_client</a>,</li>
72
+
73
+ <li><a href="#M000016">curr_tag</a>,</li>
74
+
75
+ <li><a href="#M000122">curr_view</a></li>
76
+
77
+ </ul>
78
+ </dd>
79
+
80
+ <dt>F</dt>
81
+ <dd>
82
+ <ul>
83
+
84
+ <li><a href="#M000127">focus_area</a>,</li>
85
+
86
+ <li><a href="#M000126">focus_client</a>,</li>
87
+
88
+ <li><a href="#M000128">focus_view</a>,</li>
89
+
90
+ <li><a href="#M000008">fs</a></li>
91
+
92
+ </ul>
93
+ </dd>
94
+
95
+ <dt>G</dt>
96
+ <dd>
97
+ <ul>
98
+
99
+ <li><a href="#M000021">grouping</a></li>
100
+
101
+ </ul>
102
+ </dd>
103
+
104
+ <dt>N</dt>
105
+ <dd>
106
+ <ul>
107
+
108
+ <li><a href="#M000120">next_area</a>,</li>
109
+
110
+ <li><a href="#M000117">next_client</a>,</li>
111
+
112
+ <li><a href="#M000017">next_tag</a>,</li>
113
+
114
+ <li><a href="#M000123">next_view</a></li>
115
+
116
+ </ul>
117
+ </dd>
118
+
119
+ <dt>P</dt>
120
+ <dd>
121
+ <ul>
122
+
123
+ <li><a href="#M000121">prev_area</a>,</li>
124
+
125
+ <li><a href="#M000118">prev_client</a>,</li>
126
+
127
+ <li><a href="#M000020">prev_tag</a>,</li>
128
+
129
+ <li><a href="#M000125">prev_view</a></li>
130
+
131
+ </ul>
132
+ </dd>
133
+
134
+ <dt>T</dt>
135
+ <dd>
136
+ <ul>
137
+
138
+ <li><a href="#M000009">tags</a></li>
139
+
140
+ </ul>
141
+ </dd>
142
+
143
+ <dt>V</dt>
144
+ <dd>
145
+ <ul>
146
+
147
+ <li><a href="#M000012">views</a></li>
148
+
149
+ </ul>
150
+ </dd>
151
+
152
+ </dl>
153
+
154
+
155
+
156
+ <div class="sectiontitle">Included Modules</div>
157
+ <ul>
158
+
159
+ <li>
160
+
161
+ <a href="Rumai/IXP/Struct/Field/CounterField.html">Rumai::IXP::Struct::Field::CounterField</a>
162
+
163
+ START:includes
164
+ </li>
165
+
166
+ </ul>
167
+
168
+
169
+
170
+
171
+
172
+ <div class="sectiontitle">Classes and Modules</div>
173
+ <ul>
174
+
175
+ <li><span class="type">MODULE</span> <a href="Rumai/Chain.html">Rumai::Chain</a></li>
176
+
177
+ <li><span class="type">MODULE</span> <a href="Rumai/ClientContainer.html">Rumai::ClientContainer</a></li>
178
+
179
+ <li><span class="type">MODULE</span> <a href="Rumai/ExportInstanceMethods.html">Rumai::ExportInstanceMethods</a></li>
180
+
181
+ <li><span class="type">MODULE</span> <a href="Rumai/IXP.html">Rumai::IXP</a></li>
182
+
183
+ <li><span class="type">MODULE</span> <a href="Rumai/WidgetImpl.html">Rumai::WidgetImpl</a></li>
184
+
185
+ <li><span class="type">CLASS</span> <a href="Rumai/Area.html">Rumai::Area</a></li>
186
+
187
+ <li><span class="type">CLASS</span> <a href="Rumai/Client.html">Rumai::Client</a></li>
188
+
189
+ <li><span class="type">CLASS</span> <a href="Rumai/Node.html">Rumai::Node</a></li>
190
+
191
+ <li><span class="type">CLASS</span> <a href="Rumai/View.html">Rumai::View</a></li>
192
+
193
+ <li><span class="type">CLASS</span> <a href="Rumai/WidgetNode.html">Rumai::WidgetNode</a></li>
194
+
195
+ </ul>
196
+
197
+
198
+
199
+ <div class="sectiontitle">Constants</div>
200
+ <table border='0' cellpadding='5'>
201
+
202
+ <tr valign='top'>
203
+ <td class="attr-name">IXP_SOCK_ADDR</td>
204
+ <td>=</td>
205
+ <td class="attr-value">ENV['WMII_ADDRESS'].sub(/.*!/, '') rescue</td>
206
+ </tr>
207
+
208
+
209
+ <tr valign='top'>
210
+ <td class="attr-name">IXP_AGENT</td>
211
+ <td>=</td>
212
+ <td class="attr-value">IXP::Agent.new UNIXSocket.new(IXP_SOCK_ADDR)</td>
213
+ </tr>
214
+
215
+ <tr valign='top'>
216
+ <td>&nbsp;</td>
217
+ <td colspan="2" class="attr-desc"><p>
218
+ We use a single, global connection to wmii&#8217;s <a
219
+ href="Rumai/IXP.html">IXP</a> server.
220
+ </p>
221
+ </td>
222
+ </tr>
223
+
224
+
225
+ <tr valign='top'>
226
+ <td class="attr-name">ROOT</td>
227
+ <td>=</td>
228
+ <td class="attr-value">Node.new '/'</td>
229
+ </tr>
230
+
231
+ <tr valign='top'>
232
+ <td>&nbsp;</td>
233
+ <td colspan="2" class="attr-desc"><p>
234
+ access to global WM state
235
+ </p>
236
+ </td>
237
+ </tr>
238
+
239
+
240
+ <tr valign='top'>
241
+ <td class="attr-name">GROUPING_TAG</td>
242
+ <td>=</td>
243
+ <td class="attr-value">'@'</td>
244
+ </tr>
245
+
246
+ <tr valign='top'>
247
+ <td>&nbsp;</td>
248
+ <td colspan="2" class="attr-desc"><p>
249
+ multiple client grouping: allows you to group a set of clients together and
250
+ perform operations on all of them simultaneously.
251
+ </p>
252
+ </td>
253
+ </tr>
254
+
255
+
256
+ </table>
257
+
258
+
259
+
260
+
261
+
262
+ <div class="sectiontitle">Instance Public methods</div>
263
+
264
+ <div class="method">
265
+ <div class="title" id="M000015">
266
+
267
+ <a name="M000015"></a><b>client_ids</b>()
268
+
269
+ </div>
270
+
271
+ <div class="description">
272
+ <p>
273
+ Returns the IDs of the current set of clients.
274
+ </p>
275
+
276
+ </div>
277
+
278
+
279
+
280
+
281
+ <div class="sourcecode">
282
+ <p class="source-link">
283
+ Source: <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show</a>
284
+
285
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L44" target="_blank" class="github_url">on GitHub</a>
286
+
287
+ </p>
288
+ <div id="M000015_source" class="dyn-source">
289
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 44</span>
290
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
291
+ <span class="ruby-identifier">fs</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">entries</span> <span class="ruby-operator">-</span> <span class="ruby-node">%w[sel]</span>
292
+ <span class="ruby-keyword kw">end</span></pre>
293
+ </div>
294
+ </div>
295
+
296
+ </div>
297
+
298
+ <div class="method">
299
+ <div class="title" id="M000119">
300
+
301
+ <a name="M000119"></a><b>curr_area</b>()
302
+
303
+ </div>
304
+
305
+
306
+
307
+
308
+ <div class="sourcecode">
309
+ <p class="source-link">
310
+ Source: <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show</a>
311
+
312
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L856" target="_blank" class="github_url">on GitHub</a>
313
+
314
+ </p>
315
+ <div id="M000119_source" class="dyn-source">
316
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 856</span>
317
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_area</span>
318
+ <span class="ruby-constant">Area</span>.<span class="ruby-identifier">curr</span>
319
+ <span class="ruby-keyword kw">end</span></pre>
320
+ </div>
321
+ </div>
322
+
323
+ </div>
324
+
325
+ <div class="method">
326
+ <div class="title" id="M000116">
327
+
328
+ <a name="M000116"></a><b>curr_client</b>()
329
+
330
+ </div>
331
+
332
+
333
+
334
+
335
+ <div class="sourcecode">
336
+ <p class="source-link">
337
+ Source: <a href="javascript:toggleSource('M000116_source')" id="l_M000116_source">show</a>
338
+
339
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L844" target="_blank" class="github_url">on GitHub</a>
340
+
341
+ </p>
342
+ <div id="M000116_source" class="dyn-source">
343
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 844</span>
344
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_client</span>
345
+ <span class="ruby-constant">Client</span>.<span class="ruby-identifier">curr</span>
346
+ <span class="ruby-keyword kw">end</span></pre>
347
+ </div>
348
+ </div>
349
+
350
+ </div>
351
+
352
+ <div class="method">
353
+ <div class="title" id="M000016">
354
+
355
+ <a name="M000016"></a><b>curr_tag</b>()
356
+
357
+ </div>
358
+
359
+ <div class="description">
360
+ <p>
361
+ Returns the name of the currently focused tag.
362
+ </p>
363
+
364
+ </div>
365
+
366
+
367
+
368
+
369
+ <div class="sourcecode">
370
+ <p class="source-link">
371
+ Source: <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show</a>
372
+
373
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L49" target="_blank" class="github_url">on GitHub</a>
374
+
375
+ </p>
376
+ <div id="M000016_source" class="dyn-source">
377
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 49</span>
378
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_tag</span>
379
+ <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">id</span>
380
+ <span class="ruby-keyword kw">end</span></pre>
381
+ </div>
382
+ </div>
383
+
384
+ </div>
385
+
386
+ <div class="method">
387
+ <div class="title" id="M000122">
388
+
389
+ <a name="M000122"></a><b>curr_view</b>()
390
+
391
+ </div>
392
+
393
+
394
+
395
+
396
+ <div class="sourcecode">
397
+ <p class="source-link">
398
+ Source: <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show</a>
399
+
400
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L868" target="_blank" class="github_url">on GitHub</a>
401
+
402
+ </p>
403
+ <div id="M000122_source" class="dyn-source">
404
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 868</span>
405
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">curr_view</span>
406
+ <span class="ruby-constant">View</span>.<span class="ruby-identifier">curr</span>
407
+ <span class="ruby-keyword kw">end</span></pre>
408
+ </div>
409
+ </div>
410
+
411
+ </div>
412
+
413
+ <div class="method">
414
+ <div class="title" id="M000127">
415
+
416
+ <a name="M000127"></a><b>focus_area</b>(id)
417
+
418
+ </div>
419
+
420
+
421
+
422
+
423
+ <div class="sourcecode">
424
+ <p class="source-link">
425
+ Source: <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show</a>
426
+
427
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L884" target="_blank" class="github_url">on GitHub</a>
428
+
429
+ </p>
430
+ <div id="M000127_source" class="dyn-source">
431
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 884</span>
432
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_area</span> <span class="ruby-identifier">id</span>
433
+ <span class="ruby-constant">Area</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
434
+ <span class="ruby-keyword kw">end</span></pre>
435
+ </div>
436
+ </div>
437
+
438
+ </div>
439
+
440
+ <div class="method">
441
+ <div class="title" id="M000126">
442
+
443
+ <a name="M000126"></a><b>focus_client</b>(id)
444
+
445
+ </div>
446
+
447
+
448
+
449
+
450
+ <div class="sourcecode">
451
+ <p class="source-link">
452
+ Source: <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show</a>
453
+
454
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L880" target="_blank" class="github_url">on GitHub</a>
455
+
456
+ </p>
457
+ <div id="M000126_source" class="dyn-source">
458
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 880</span>
459
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_client</span> <span class="ruby-identifier">id</span>
460
+ <span class="ruby-constant">Client</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
461
+ <span class="ruby-keyword kw">end</span></pre>
462
+ </div>
463
+ </div>
464
+
465
+ </div>
466
+
467
+ <div class="method">
468
+ <div class="title" id="M000128">
469
+
470
+ <a name="M000128"></a><b>focus_view</b>(id)
471
+
472
+ </div>
473
+
474
+
475
+
476
+
477
+ <div class="sourcecode">
478
+ <p class="source-link">
479
+ Source: <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show</a>
480
+
481
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L888" target="_blank" class="github_url">on GitHub</a>
482
+
483
+ </p>
484
+ <div id="M000128_source" class="dyn-source">
485
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 888</span>
486
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">focus_view</span> <span class="ruby-identifier">id</span>
487
+ <span class="ruby-constant">View</span>.<span class="ruby-identifier">focus</span> <span class="ruby-identifier">id</span>
488
+ <span class="ruby-keyword kw">end</span></pre>
489
+ </div>
490
+ </div>
491
+
492
+ </div>
493
+
494
+ <div class="method">
495
+ <div class="title" id="M000008">
496
+
497
+ <a name="M000008"></a><b>fs</b>()
498
+
499
+ </div>
500
+
501
+ <div class="description">
502
+ <p>
503
+ Returns the root of <a href="Rumai/IXP.html">IXP</a> file system hierarchy.
504
+ </p>
505
+
506
+ </div>
507
+
508
+
509
+
510
+
511
+ <div class="sourcecode">
512
+ <p class="source-link">
513
+ Source: <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show</a>
514
+
515
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L23" target="_blank" class="github_url">on GitHub</a>
516
+
517
+ </p>
518
+ <div id="M000008_source" class="dyn-source">
519
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 23</span>
520
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fs</span>
521
+ <span class="ruby-constant">ROOT</span>
522
+ <span class="ruby-keyword kw">end</span></pre>
523
+ </div>
524
+ </div>
525
+
526
+ </div>
527
+
528
+ <div class="method">
529
+ <div class="title" id="M000021">
530
+
531
+ <a name="M000021"></a><b>grouping</b>()
532
+
533
+ </div>
534
+
535
+ <div class="description">
536
+ <p>
537
+ Returns a list of all grouped clients in the currently focused view. If
538
+ there are no grouped clients, then the currently focused client is returned
539
+ in the list.
540
+ </p>
541
+
542
+ </div>
543
+
544
+
545
+
546
+
547
+ <div class="sourcecode">
548
+ <p class="source-link">
549
+ Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
550
+
551
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L73" target="_blank" class="github_url">on GitHub</a>
552
+
553
+ </p>
554
+ <div id="M000021_source" class="dyn-source">
555
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 73</span>
556
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grouping</span>
557
+ <span class="ruby-identifier">list</span> = <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">group?</span> }
558
+ <span class="ruby-identifier">list</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">curr_client</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">list</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">exist?</span>
559
+ <span class="ruby-identifier">list</span>
560
+ <span class="ruby-keyword kw">end</span></pre>
561
+ </div>
562
+ </div>
563
+
564
+ </div>
565
+
566
+ <div class="method">
567
+ <div class="title" id="M000120">
568
+
569
+ <a name="M000120"></a><b>next_area</b>()
570
+
571
+ </div>
572
+
573
+
574
+
575
+
576
+ <div class="sourcecode">
577
+ <p class="source-link">
578
+ Source: <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show</a>
579
+
580
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L860" target="_blank" class="github_url">on GitHub</a>
581
+
582
+ </p>
583
+ <div id="M000120_source" class="dyn-source">
584
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 860</span>
585
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_area</span>
586
+ <span class="ruby-identifier">curr_area</span>.<span class="ruby-identifier">next</span>
587
+ <span class="ruby-keyword kw">end</span></pre>
588
+ </div>
589
+ </div>
590
+
591
+ </div>
592
+
593
+ <div class="method">
594
+ <div class="title" id="M000117">
595
+
596
+ <a name="M000117"></a><b>next_client</b>()
597
+
598
+ </div>
599
+
600
+
601
+
602
+
603
+ <div class="sourcecode">
604
+ <p class="source-link">
605
+ Source: <a href="javascript:toggleSource('M000117_source')" id="l_M000117_source">show</a>
606
+
607
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L848" target="_blank" class="github_url">on GitHub</a>
608
+
609
+ </p>
610
+ <div id="M000117_source" class="dyn-source">
611
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 848</span>
612
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_client</span>
613
+ <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">next</span>
614
+ <span class="ruby-keyword kw">end</span></pre>
615
+ </div>
616
+ </div>
617
+
618
+ </div>
619
+
620
+ <div class="method">
621
+ <div class="title" id="M000017">
622
+
623
+ <a name="M000017"></a><b>next_tag</b>()
624
+
625
+ </div>
626
+
627
+ <div class="description">
628
+ <p>
629
+ Returns the name of the next tag.
630
+ </p>
631
+
632
+ </div>
633
+
634
+
635
+
636
+
637
+ <div class="sourcecode">
638
+ <p class="source-link">
639
+ Source: <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show</a>
640
+
641
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L54" target="_blank" class="github_url">on GitHub</a>
642
+
643
+ </p>
644
+ <div id="M000017_source" class="dyn-source">
645
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 54</span>
646
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_tag</span>
647
+ <span class="ruby-identifier">next_view</span>.<span class="ruby-identifier">id</span>
648
+ <span class="ruby-keyword kw">end</span></pre>
649
+ </div>
650
+ </div>
651
+
652
+ </div>
653
+
654
+ <div class="method">
655
+ <div class="title" id="M000123">
656
+
657
+ <a name="M000123"></a><b>next_view</b>()
658
+
659
+ </div>
660
+
661
+
662
+
663
+
664
+ <div class="sourcecode">
665
+ <p class="source-link">
666
+ Source: <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">show</a>
667
+
668
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L872" target="_blank" class="github_url">on GitHub</a>
669
+
670
+ </p>
671
+ <div id="M000123_source" class="dyn-source">
672
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 872</span>
673
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">next_view</span>
674
+ <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">next</span>
675
+ <span class="ruby-keyword kw">end</span></pre>
676
+ </div>
677
+ </div>
678
+
679
+ </div>
680
+
681
+ <div class="method">
682
+ <div class="title" id="M000121">
683
+
684
+ <a name="M000121"></a><b>prev_area</b>()
685
+
686
+ </div>
687
+
688
+
689
+
690
+
691
+ <div class="sourcecode">
692
+ <p class="source-link">
693
+ Source: <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">show</a>
694
+
695
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L864" target="_blank" class="github_url">on GitHub</a>
696
+
697
+ </p>
698
+ <div id="M000121_source" class="dyn-source">
699
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 864</span>
700
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_area</span>
701
+ <span class="ruby-identifier">curr_area</span>.<span class="ruby-identifier">prev</span>
702
+ <span class="ruby-keyword kw">end</span></pre>
703
+ </div>
704
+ </div>
705
+
706
+ </div>
707
+
708
+ <div class="method">
709
+ <div class="title" id="M000118">
710
+
711
+ <a name="M000118"></a><b>prev_client</b>()
712
+
713
+ </div>
714
+
715
+
716
+
717
+
718
+ <div class="sourcecode">
719
+ <p class="source-link">
720
+ Source: <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">show</a>
721
+
722
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L852" target="_blank" class="github_url">on GitHub</a>
723
+
724
+ </p>
725
+ <div id="M000118_source" class="dyn-source">
726
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 852</span>
727
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_client</span>
728
+ <span class="ruby-identifier">curr_client</span>.<span class="ruby-identifier">prev</span>
729
+ <span class="ruby-keyword kw">end</span></pre>
730
+ </div>
731
+ </div>
732
+
733
+ </div>
734
+
735
+ <div class="method">
736
+ <div class="title" id="M000020">
737
+
738
+ <a name="M000020"></a><b>prev_tag</b>()
739
+
740
+ </div>
741
+
742
+ <div class="description">
743
+ <p>
744
+ Returns the name of the previous tag.
745
+ </p>
746
+
747
+ </div>
748
+
749
+
750
+
751
+
752
+ <div class="sourcecode">
753
+ <p class="source-link">
754
+ Source: <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show</a>
755
+
756
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L59" target="_blank" class="github_url">on GitHub</a>
757
+
758
+ </p>
759
+ <div id="M000020_source" class="dyn-source">
760
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 59</span>
761
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_tag</span>
762
+ <span class="ruby-identifier">prev_view</span>.<span class="ruby-identifier">id</span>
763
+ <span class="ruby-keyword kw">end</span></pre>
764
+ </div>
765
+ </div>
766
+
767
+ </div>
768
+
769
+ <div class="method">
770
+ <div class="title" id="M000125">
771
+
772
+ <a name="M000125"></a><b>prev_view</b>()
773
+
774
+ </div>
775
+
776
+
777
+
778
+
779
+ <div class="sourcecode">
780
+ <p class="source-link">
781
+ Source: <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">show</a>
782
+
783
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L876" target="_blank" class="github_url">on GitHub</a>
784
+
785
+ </p>
786
+ <div id="M000125_source" class="dyn-source">
787
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 876</span>
788
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prev_view</span>
789
+ <span class="ruby-identifier">curr_view</span>.<span class="ruby-identifier">prev</span>
790
+ <span class="ruby-keyword kw">end</span></pre>
791
+ </div>
792
+ </div>
793
+
794
+ </div>
795
+
796
+ <div class="method">
797
+ <div class="title" id="M000009">
798
+
799
+ <a name="M000009"></a><b>tags</b>()
800
+
801
+ </div>
802
+
803
+ <div class="description">
804
+ <p>
805
+ Returns the current set of tags.
806
+ </p>
807
+
808
+ </div>
809
+
810
+
811
+
812
+
813
+ <div class="sourcecode">
814
+ <p class="source-link">
815
+ Source: <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show</a>
816
+
817
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L28" target="_blank" class="github_url">on GitHub</a>
818
+
819
+ </p>
820
+ <div id="M000009_source" class="dyn-source">
821
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 28</span>
822
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
823
+ <span class="ruby-identifier">fs</span>.<span class="ruby-identifier">tag</span>.<span class="ruby-identifier">entries</span>.<span class="ruby-identifier">sort</span> <span class="ruby-operator">-</span> <span class="ruby-node">%w[sel]</span>
824
+ <span class="ruby-keyword kw">end</span></pre>
825
+ </div>
826
+ </div>
827
+
828
+ </div>
829
+
830
+ <div class="method">
831
+ <div class="title" id="M000012">
832
+
833
+ <a name="M000012"></a><b>views</b>()
834
+
835
+ </div>
836
+
837
+ <div class="description">
838
+ <p>
839
+ Returns the current set of views.
840
+ </p>
841
+
842
+ </div>
843
+
844
+
845
+
846
+
847
+ <div class="sourcecode">
848
+ <p class="source-link">
849
+ Source: <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show</a>
850
+
851
+ | <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/wm.rb#L33" target="_blank" class="github_url">on GitHub</a>
852
+
853
+ </p>
854
+ <div id="M000012_source" class="dyn-source">
855
+ <pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 33</span>
856
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">views</span>
857
+ <span class="ruby-identifier">tags</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-constant">View</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">t</span> }
858
+ <span class="ruby-keyword kw">end</span></pre>
859
+ </div>
860
+ </div>
861
+
862
+ </div>
863
+
864
+ </div>
865
+ </div>
866
+ </body>
867
+ </html>