rumai 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/CREDITS +4 -3
  2. data/HISTORY +327 -0
  3. data/INSTALL +31 -0
  4. data/README +92 -0
  5. data/USAGE +297 -0
  6. data/bin/rumai +9 -22
  7. data/doc/api/IO.html +119 -0
  8. data/doc/api/Integer.html +171 -0
  9. data/doc/api/Rumai.html +1270 -0
  10. data/doc/api/Rumai/Area.html +1485 -0
  11. data/doc/api/Rumai/Chain.html +301 -0
  12. data/doc/api/Rumai/Client.html +2451 -0
  13. data/doc/api/Rumai/ClientContainer.html +301 -0
  14. data/doc/api/Rumai/ExportInstanceMethods.html +103 -0
  15. data/doc/api/Rumai/IXP.html +94 -0
  16. data/doc/api/Rumai/IXP/Agent.html +1625 -0
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +959 -0
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +381 -0
  19. data/doc/api/Rumai/IXP/Error.html +110 -0
  20. data/doc/api/Rumai/IXP/Fcall.html +503 -0
  21. data/doc/api/Rumai/IXP/Qid.html +207 -0
  22. data/doc/api/Rumai/IXP/Rattach.html +148 -0
  23. data/doc/api/Rumai/IXP/Rauth.html +148 -0
  24. data/doc/api/Rumai/IXP/Rclunk.html +148 -0
  25. data/doc/api/Rumai/IXP/Rcreate.html +148 -0
  26. data/doc/api/Rumai/IXP/Rerror.html +148 -0
  27. data/doc/api/Rumai/IXP/Rflush.html +148 -0
  28. data/doc/api/Rumai/IXP/Ropen.html +148 -0
  29. data/doc/api/Rumai/IXP/Rread.html +148 -0
  30. data/doc/api/Rumai/IXP/Rremove.html +148 -0
  31. data/doc/api/Rumai/IXP/Rstat.html +148 -0
  32. data/doc/api/Rumai/IXP/Rversion.html +148 -0
  33. data/doc/api/Rumai/IXP/Rwalk.html +148 -0
  34. data/doc/api/Rumai/IXP/Rwrite.html +148 -0
  35. data/doc/api/Rumai/IXP/Rwstat.html +148 -0
  36. data/doc/api/Rumai/IXP/Stat.html +335 -0
  37. data/doc/api/Rumai/IXP/Stream.html +194 -0
  38. data/doc/api/Rumai/IXP/Struct.html +586 -0
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +242 -0
  40. data/doc/api/Rumai/IXP/Struct/Field.html +782 -0
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +227 -0
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +153 -0
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +242 -0
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +206 -0
  45. data/doc/api/Rumai/IXP/Tattach.html +148 -0
  46. data/doc/api/Rumai/IXP/Tauth.html +148 -0
  47. data/doc/api/Rumai/IXP/Tclunk.html +148 -0
  48. data/doc/api/Rumai/IXP/Tcreate.html +148 -0
  49. data/doc/api/Rumai/IXP/Terror.html +231 -0
  50. data/doc/api/Rumai/IXP/Tflush.html +148 -0
  51. data/doc/api/Rumai/IXP/Topen.html +240 -0
  52. data/doc/api/Rumai/IXP/Tread.html +148 -0
  53. data/doc/api/Rumai/IXP/Tremove.html +148 -0
  54. data/doc/api/Rumai/IXP/Tstat.html +148 -0
  55. data/doc/api/Rumai/IXP/Tversion.html +162 -0
  56. data/doc/api/Rumai/IXP/Twalk.html +148 -0
  57. data/doc/api/Rumai/IXP/Twrite.html +148 -0
  58. data/doc/api/Rumai/IXP/Twstat.html +148 -0
  59. data/doc/api/Rumai/Node.html +1406 -0
  60. data/doc/api/Rumai/View.html +1587 -0
  61. data/doc/api/Rumai/WidgetImpl.html +333 -0
  62. data/doc/api/Rumai/WidgetNode.html +246 -0
  63. data/doc/api/String.html +258 -0
  64. data/doc/api/StringIO.html +119 -0
  65. data/doc/api/Time.html +247 -0
  66. data/doc/api/_index.html +581 -0
  67. data/doc/api/class_list.html +36 -0
  68. data/doc/api/css/common.css +1 -0
  69. data/doc/api/css/full_list.css +50 -0
  70. data/doc/api/css/style.css +273 -0
  71. data/doc/api/file.LICENSE.html +73 -0
  72. data/doc/api/file_list.html +38 -0
  73. data/doc/api/frames.html +13 -0
  74. data/doc/api/index.html +72 -13
  75. data/doc/api/js/app.js +111 -0
  76. data/doc/api/js/full_list.js +117 -0
  77. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  78. data/doc/api/method_list.html +1483 -0
  79. data/doc/api/top-level-namespace.html +89 -0
  80. data/doc/index.erb +18 -13
  81. data/doc/index.html +331 -386
  82. data/lib/rumai.rb +1 -18
  83. data/lib/rumai/fs.rb +11 -11
  84. data/lib/rumai/inochi.rb +48 -0
  85. data/lib/rumai/inochi.yaml +94 -0
  86. data/lib/rumai/ixp.rb +0 -4
  87. data/lib/rumai/ixp/message.rb +6 -17
  88. data/lib/rumai/ixp/transport.rb +39 -30
  89. data/lib/rumai/wm.rb +35 -37
  90. data/test/rumai/inochi_test.rb +17 -0
  91. data/test/rumai/ixp/message_test.rb +245 -0
  92. data/test/runner +25 -0
  93. data/test/test_helper.rb +1 -0
  94. metadata +107 -125
  95. data/doc/api/apple-touch-icon.png +0 -0
  96. data/doc/api/classes/IO.html +0 -72
  97. data/doc/api/classes/Integer.html +0 -110
  98. data/doc/api/classes/Object.html +0 -60
  99. data/doc/api/classes/Rumai.html +0 -837
  100. data/doc/api/classes/Rumai/Area.html +0 -909
  101. data/doc/api/classes/Rumai/Chain.html +0 -197
  102. data/doc/api/classes/Rumai/Client.html +0 -1526
  103. data/doc/api/classes/Rumai/ClientContainer.html +0 -191
  104. data/doc/api/classes/Rumai/ExportInstanceMethods.html +0 -69
  105. data/doc/api/classes/Rumai/IXP.html +0 -131
  106. data/doc/api/classes/Rumai/IXP/Agent.html +0 -941
  107. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -456
  108. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -108
  109. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -241
  110. data/doc/api/classes/Rumai/IXP/Error.html +0 -67
  111. data/doc/api/classes/Rumai/IXP/Fcall.html +0 -323
  112. data/doc/api/classes/Rumai/IXP/Qid.html +0 -153
  113. data/doc/api/classes/Rumai/IXP/Rattach.html +0 -67
  114. data/doc/api/classes/Rumai/IXP/Rauth.html +0 -67
  115. data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -67
  116. data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -67
  117. data/doc/api/classes/Rumai/IXP/Rerror.html +0 -67
  118. data/doc/api/classes/Rumai/IXP/Rflush.html +0 -67
  119. data/doc/api/classes/Rumai/IXP/Ropen.html +0 -67
  120. data/doc/api/classes/Rumai/IXP/Rread.html +0 -67
  121. data/doc/api/classes/Rumai/IXP/Rremove.html +0 -67
  122. data/doc/api/classes/Rumai/IXP/Rstat.html +0 -67
  123. data/doc/api/classes/Rumai/IXP/Rversion.html +0 -67
  124. data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -67
  125. data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -67
  126. data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -67
  127. data/doc/api/classes/Rumai/IXP/Stat.html +0 -252
  128. data/doc/api/classes/Rumai/IXP/Stream.html +0 -131
  129. data/doc/api/classes/Rumai/IXP/Struct.html +0 -311
  130. data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -415
  131. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -153
  132. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -104
  133. data/doc/api/classes/Rumai/IXP/Tattach.html +0 -68
  134. data/doc/api/classes/Rumai/IXP/Tauth.html +0 -67
  135. data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -67
  136. data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -68
  137. data/doc/api/classes/Rumai/IXP/Terror.html +0 -110
  138. data/doc/api/classes/Rumai/IXP/Tflush.html +0 -67
  139. data/doc/api/classes/Rumai/IXP/Topen.html +0 -165
  140. data/doc/api/classes/Rumai/IXP/Tread.html +0 -67
  141. data/doc/api/classes/Rumai/IXP/Tremove.html +0 -67
  142. data/doc/api/classes/Rumai/IXP/Tstat.html +0 -67
  143. data/doc/api/classes/Rumai/IXP/Tversion.html +0 -86
  144. data/doc/api/classes/Rumai/IXP/Twalk.html +0 -68
  145. data/doc/api/classes/Rumai/IXP/Twrite.html +0 -68
  146. data/doc/api/classes/Rumai/IXP/Twstat.html +0 -67
  147. data/doc/api/classes/Rumai/Node.html +0 -821
  148. data/doc/api/classes/Rumai/View.html +0 -967
  149. data/doc/api/classes/Rumai/WidgetImpl.html +0 -65
  150. data/doc/api/classes/Rumai/WidgetNode.html +0 -68
  151. data/doc/api/classes/String.html +0 -163
  152. data/doc/api/classes/StringIO.html +0 -72
  153. data/doc/api/classes/Time.html +0 -156
  154. data/doc/api/created.rid +0 -1
  155. data/doc/api/css/main.css +0 -263
  156. data/doc/api/css/panel.css +0 -383
  157. data/doc/api/css/reset.css +0 -53
  158. data/doc/api/favicon.ico +0 -0
  159. data/doc/api/files/CREDITS.html +0 -67
  160. data/doc/api/files/LICENSE.html +0 -76
  161. data/doc/api/files/lib/rumai/fs_rb.html +0 -75
  162. data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -91
  163. data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -75
  164. data/doc/api/files/lib/rumai/ixp_rb.html +0 -69
  165. data/doc/api/files/lib/rumai/wm_rb.html +0 -77
  166. data/doc/api/files/lib/rumai_rb.html +0 -65
  167. data/doc/api/i/arrows.png +0 -0
  168. data/doc/api/i/results_bg.png +0 -0
  169. data/doc/api/i/tree_bg.png +0 -0
  170. data/doc/api/js/jquery-effect.js +0 -593
  171. data/doc/api/js/main.js +0 -22
  172. data/doc/api/js/searchdoc.js +0 -628
  173. data/doc/api/panel/index.html +0 -71
  174. data/doc/api/panel/search_index.js +0 -1
  175. data/doc/api/panel/tree.js +0 -1
  176. data/doc/history.erb +0 -233
  177. data/doc/intro.erb +0 -70
  178. data/doc/setup.erb +0 -144
  179. data/doc/usage.erb +0 -308
  180. data/rakefile +0 -14
  181. data/test/rumai/ixp/message.rb +0 -237
@@ -1,67 +0,0 @@
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::IXP::Tremove</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
- Rumai::IXP::Tremove
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Tremove.html">Tremove</a> tag[2] fid[4]
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
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::IXP::Tstat</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
- Rumai::IXP::Tstat
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Tstat.html">Tstat</a> tag[2] fid[4]
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
- </div>
66
- </body>
67
- </html>
@@ -1,86 +0,0 @@
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::IXP::Tversion</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
- Rumai::IXP::Tversion
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Tversion.html">Tversion</a> tag[2] msize[4] version[s]
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
- <div class="sectiontitle">Constants</div>
61
- <table border='0' cellpadding='5'>
62
-
63
- <tr valign='top'>
64
- <td class="attr-name">VERSION</td>
65
- <td>=</td>
66
- <td class="attr-value">'9P2000'.freeze</td>
67
- </tr>
68
-
69
-
70
- <tr valign='top'>
71
- <td class="attr-name">MSIZE</td>
72
- <td>=</td>
73
- <td class="attr-value">8192</td>
74
- </tr>
75
-
76
-
77
- </table>
78
-
79
-
80
-
81
-
82
-
83
- </div>
84
- </div>
85
- </body>
86
- </html>
@@ -1,68 +0,0 @@
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::IXP::Twalk</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
- Rumai::IXP::Twalk
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Twalk.html">Twalk</a> tag[2] fid[4] newfid[4] nwname[2]
40
- nwname*(wname[s])
41
- </p>
42
-
43
- </div>
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
- </div>
66
- </div>
67
- </body>
68
- </html>
@@ -1,68 +0,0 @@
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::IXP::Twrite</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
- Rumai::IXP::Twrite
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Twrite.html">Twrite</a> tag[2] fid[4] offset[8] count[4]
40
- data[count]
41
- </p>
42
-
43
- </div>
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
- </div>
66
- </div>
67
- </body>
68
- </html>
@@ -1,67 +0,0 @@
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::IXP::Twstat</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
- Rumai::IXP::Twstat
20
-
21
- <span class="parent">&lt;
22
-
23
- Fcall
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
- <div class="description">
38
- <p>
39
- size[4] <a href="Twstat.html">Twstat</a> tag[2] fid[4] stat[n]
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
- </div>
66
- </body>
67
- </html>
@@ -1,821 +0,0 @@
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::Node</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
- Rumai::Node
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/fs_rb.html">lib/rumai/fs.rb</a></li>
31
-
32
- </ul>
33
- </div>
34
- <div id="bodyContent">
35
- <div id="content">
36
-
37
- <div class="description">
38
- <p>
39
- An entry in the <a href="IXP.html">IXP</a> file system.
40
- </p>
41
-
42
- </div>
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
- <div class="sectiontitle">Methods</div>
53
- <dl class="methods">
54
-
55
- <dt>#</dt>
56
- <dd>
57
- <ul>
58
-
59
- <li><a href="#M000016">[]</a></li>
60
-
61
- </ul>
62
- </dd>
63
-
64
- <dt>C</dt>
65
- <dd>
66
- <ul>
67
-
68
- <li><a href="#M000021">children</a>,</li>
69
-
70
- <li><a href="#M000023">clear</a>,</li>
71
-
72
- <li><a href="#M000013">create</a></li>
73
-
74
- </ul>
75
- </dd>
76
-
77
- <dt>D</dt>
78
- <dd>
79
- <ul>
80
-
81
- <li><a href="#M000005">directory?</a></li>
82
-
83
- </ul>
84
- </dd>
85
-
86
- <dt>E</dt>
87
- <dd>
88
- <ul>
89
-
90
- <li><a href="#M000022">each</a>,</li>
91
-
92
- <li><a href="#M000011">each_line</a>,</li>
93
-
94
- <li><a href="#M000006">entries</a>,</li>
95
-
96
- <li><a href="#M000004">exist?</a></li>
97
-
98
- </ul>
99
- </dd>
100
-
101
- <dt>M</dt>
102
- <dd>
103
- <ul>
104
-
105
- <li><a href="#M000024">method_missing</a></li>
106
-
107
- </ul>
108
- </dd>
109
-
110
- <dt>N</dt>
111
- <dd>
112
- <ul>
113
-
114
- <li><a href="#M000000">new</a></li>
115
-
116
- </ul>
117
- </dd>
118
-
119
- <dt>O</dt>
120
- <dd>
121
- <ul>
122
-
123
- <li><a href="#M000009">open</a></li>
124
-
125
- </ul>
126
- </dd>
127
-
128
- <dt>P</dt>
129
- <dd>
130
- <ul>
131
-
132
- <li><a href="#M000017">parent</a></li>
133
-
134
- </ul>
135
- </dd>
136
-
137
- <dt>R</dt>
138
- <dd>
139
- <ul>
140
-
141
- <li><a href="#M000010">read</a>,</li>
142
-
143
- <li><a href="#M000015">remove</a></li>
144
-
145
- </ul>
146
- </dd>
147
-
148
- <dt>S</dt>
149
- <dd>
150
- <ul>
151
-
152
- <li><a href="#M000003">stat</a></li>
153
-
154
- </ul>
155
- </dd>
156
-
157
- <dt>W</dt>
158
- <dd>
159
- <ul>
160
-
161
- <li><a href="#M000012">write</a></li>
162
-
163
- </ul>
164
- </dd>
165
-
166
- </dl>
167
-
168
-
169
-
170
- <div class="sectiontitle">Included Modules</div>
171
- <ul>
172
-
173
- <li>
174
-
175
- <span>Enumerable</span>
176
-
177
- START:includes
178
- </li>
179
-
180
- </ul>
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
- <div class="sectiontitle">Attributes</div>
191
- <table border='0' cellpadding='5'>
192
-
193
- <tr valign='top'>
194
- <td class='attr-rw'>
195
- [R]
196
- </td>
197
- <td class='attr-name'>path</td>
198
- <td class='attr-desc'></td>
199
- </tr>
200
-
201
- </table>
202
-
203
-
204
-
205
- <div class="sectiontitle">Class Public methods</div>
206
-
207
- <div class="method">
208
- <div class="title" id="M000000">
209
-
210
- <a name="M000000"></a><b>new</b>(path)
211
-
212
- </div>
213
-
214
-
215
-
216
-
217
- <div class="sourcecode">
218
- <p class="source-link">
219
- Source: <a href="javascript:toggleSource('M000000_source')" id="l_M000000_source">show</a>
220
-
221
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L39" target="_blank" class="github_url">on GitHub</a>
222
-
223
- </p>
224
- <div id="M000000_source" class="dyn-source">
225
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 39</span>
226
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">path</span>
227
- <span class="ruby-ivar">@path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">squeeze</span>(<span class="ruby-value str">'/'</span>)
228
- <span class="ruby-keyword kw">end</span></pre>
229
- </div>
230
- </div>
231
-
232
- </div>
233
-
234
- <div class="sectiontitle">Instance Public methods</div>
235
-
236
- <div class="method">
237
- <div class="title" id="M000016">
238
-
239
- <a name="M000016"></a><b>[]</b>(sub_path)
240
-
241
- </div>
242
-
243
- <div class="description">
244
- <p>
245
- Returns the given sub-path as a <a href="Node.html">Node</a> object.
246
- </p>
247
-
248
- </div>
249
-
250
-
251
-
252
-
253
- <div class="sourcecode">
254
- <p class="source-link">
255
- Source: <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show</a>
256
-
257
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L136" target="_blank" class="github_url">on GitHub</a>
258
-
259
- </p>
260
- <div id="M000016_source" class="dyn-source">
261
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 136</span>
262
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span> <span class="ruby-identifier">sub_path</span>
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>) ]
264
- <span class="ruby-keyword kw">end</span></pre>
265
- </div>
266
- </div>
267
-
268
- </div>
269
-
270
- <div class="method">
271
- <div class="title" id="M000021">
272
-
273
- <a name="M000021"></a><b>children</b>()
274
-
275
- </div>
276
-
277
- <div class="description">
278
- <p>
279
- Returns all child nodes of this node.
280
- </p>
281
-
282
- </div>
283
-
284
-
285
-
286
-
287
- <div class="sourcecode">
288
- <p class="source-link">
289
- Source: <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show</a>
290
-
291
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L150" target="_blank" class="github_url">on GitHub</a>
292
-
293
- </p>
294
- <div id="M000021_source" class="dyn-source">
295
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 150</span>
296
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">children</span>
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>] }
298
- <span class="ruby-keyword kw">end</span></pre>
299
- </div>
300
- </div>
301
-
302
- </div>
303
-
304
- <div class="method">
305
- <div class="title" id="M000023">
306
-
307
- <a name="M000023"></a><b>clear</b>()
308
-
309
- </div>
310
-
311
- <div class="description">
312
- <p>
313
- Deletes all child nodes.
314
- </p>
315
-
316
- </div>
317
-
318
-
319
-
320
-
321
- <div class="sourcecode">
322
- <p class="source-link">
323
- Source: <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show</a>
324
-
325
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L166" target="_blank" class="github_url">on GitHub</a>
326
-
327
- </p>
328
- <div id="M000023_source" class="dyn-source">
329
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 166</span>
330
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear</span>
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>
332
- <span class="ruby-identifier">c</span>.<span class="ruby-identifier">remove</span>
333
- <span class="ruby-keyword kw">end</span>
334
- <span class="ruby-keyword kw">end</span></pre>
335
- </div>
336
- </div>
337
-
338
- </div>
339
-
340
- <div class="method">
341
- <div class="title" id="M000013">
342
-
343
- <a name="M000013"></a><b>create</b>(*args)
344
-
345
- </div>
346
-
347
- <div class="description">
348
- <p>
349
- Creates a file corresponding to this node on the <a href="IXP.html">IXP</a>
350
- server.
351
- </p>
352
- <p>
353
- See Rumai::IXP::Client#create for details.
354
- </p>
355
-
356
- </div>
357
-
358
-
359
-
360
-
361
- <div class="sourcecode">
362
- <p class="source-link">
363
- Source: <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show</a>
364
-
365
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L122" target="_blank" class="github_url">on GitHub</a>
366
-
367
- </p>
368
- <div id="M000013_source" class="dyn-source">
369
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 122</span>
370
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
371
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">create</span> <span class="ruby-ivar">@path</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
372
- <span class="ruby-keyword kw">end</span></pre>
373
- </div>
374
- </div>
375
-
376
- </div>
377
-
378
- <div class="method">
379
- <div class="title" id="M000005">
380
-
381
- <a name="M000005"></a><b>directory?</b>()
382
-
383
- </div>
384
-
385
- <div class="description">
386
- <p>
387
- Tests if this node is a directory.
388
- </p>
389
-
390
- </div>
391
-
392
-
393
-
394
-
395
- <div class="sourcecode">
396
- <p class="source-link">
397
- Source: <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show</a>
398
-
399
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L66" target="_blank" class="github_url">on GitHub</a>
400
-
401
- </p>
402
- <div id="M000005_source" class="dyn-source">
403
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 66</span>
404
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">directory?</span>
405
- <span class="ruby-identifier">exist?</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">stat</span>.<span class="ruby-identifier">directory?</span>
406
- <span class="ruby-keyword kw">end</span></pre>
407
- </div>
408
- </div>
409
-
410
- </div>
411
-
412
- <div class="method">
413
- <div class="title" id="M000022">
414
-
415
- <a name="M000022"></a><b>each</b>(&amp;block)
416
-
417
- </div>
418
-
419
- <div class="description">
420
- <p>
421
- Iterates through each child of this directory.
422
- </p>
423
-
424
- </div>
425
-
426
-
427
-
428
-
429
- <div class="sourcecode">
430
- <p class="source-link">
431
- Source: <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show</a>
432
-
433
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L159" target="_blank" class="github_url">on GitHub</a>
434
-
435
- </p>
436
- <div id="M000022_source" class="dyn-source">
437
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 159</span>
438
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
439
- <span class="ruby-identifier">children</span>.<span class="ruby-identifier">each</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
440
- <span class="ruby-keyword kw">end</span></pre>
441
- </div>
442
- </div>
443
-
444
- </div>
445
-
446
- <div class="method">
447
- <div class="title" id="M000011">
448
-
449
- <a name="M000011"></a><b>each_line</b>(&amp;block)
450
-
451
- </div>
452
-
453
- <div class="description">
454
- <p>
455
- Invokes the given block for every line in the content of this node.
456
- </p>
457
-
458
- </div>
459
-
460
-
461
-
462
-
463
- <div class="sourcecode">
464
- <p class="source-link">
465
- Source: <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show</a>
466
-
467
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L102" target="_blank" class="github_url">on GitHub</a>
468
-
469
- </p>
470
- <div id="M000011_source" class="dyn-source">
471
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 102</span>
472
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_line</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> <span class="ruby-comment cmt">#:yields: line</span>
473
- <span class="ruby-identifier">open</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
474
- <span class="ruby-keyword kw">until</span> (<span class="ruby-identifier">chunk</span> = <span class="ruby-identifier">file</span>.<span class="ruby-identifier">read</span>(<span class="ruby-keyword kw">true</span>)).<span class="ruby-identifier">empty?</span>
475
- <span class="ruby-identifier">chunk</span>.<span class="ruby-identifier">each_line</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
476
- <span class="ruby-keyword kw">end</span>
477
- <span class="ruby-keyword kw">end</span>
478
- <span class="ruby-keyword kw">end</span></pre>
479
- </div>
480
- </div>
481
-
482
- </div>
483
-
484
- <div class="method">
485
- <div class="title" id="M000006">
486
-
487
- <a name="M000006"></a><b>entries</b>()
488
-
489
- </div>
490
-
491
- <div class="description">
492
- <p>
493
- Returns the names of all files in this directory.
494
- </p>
495
-
496
- </div>
497
-
498
-
499
-
500
-
501
- <div class="sourcecode">
502
- <p class="source-link">
503
- Source: <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show</a>
504
-
505
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L73" target="_blank" class="github_url">on GitHub</a>
506
-
507
- </p>
508
- <div id="M000006_source" class="dyn-source">
509
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 73</span>
510
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entries</span>
511
- <span class="ruby-keyword kw">begin</span>
512
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">entries</span> <span class="ruby-ivar">@path</span>
513
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">IXP</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>
514
- []
515
- <span class="ruby-keyword kw">end</span>
516
- <span class="ruby-keyword kw">end</span></pre>
517
- </div>
518
- </div>
519
-
520
- </div>
521
-
522
- <div class="method">
523
- <div class="title" id="M000004">
524
-
525
- <a name="M000004"></a><b>exist?</b>()
526
-
527
- </div>
528
-
529
- <div class="description">
530
- <p>
531
- Tests if this node exists on the <a href="IXP.html">IXP</a> server.
532
- </p>
533
-
534
- </div>
535
-
536
-
537
-
538
-
539
- <div class="sourcecode">
540
- <p class="source-link">
541
- Source: <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show</a>
542
-
543
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L55" target="_blank" class="github_url">on GitHub</a>
544
-
545
- </p>
546
- <div id="M000004_source" class="dyn-source">
547
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 55</span>
548
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exist?</span>
549
- <span class="ruby-keyword kw">begin</span>
550
- <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">stat</span>
551
- <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">IXP</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>
552
- <span class="ruby-keyword kw">false</span>
553
- <span class="ruby-keyword kw">end</span>
554
- <span class="ruby-keyword kw">end</span></pre>
555
- </div>
556
- </div>
557
-
558
- </div>
559
-
560
- <div class="method">
561
- <div class="title" id="M000024">
562
-
563
- <a name="M000024"></a><b> node.child &rarr; Node
564
- </b>
565
-
566
- </div>
567
-
568
- <div class="description">
569
- <p>
570
- Provides access to child nodes through method calls.
571
- </p>
572
-
573
- </div>
574
-
575
-
576
-
577
-
578
- <div class="sourcecode">
579
- <p class="source-link">
580
- Source: <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show</a>
581
-
582
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L177" target="_blank" class="github_url">on GitHub</a>
583
-
584
- </p>
585
- <div id="M000024_source" class="dyn-source">
586
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 177</span>
587
- <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>
588
- <span class="ruby-identifier">child</span> = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">meth</span>]
589
-
590
- <span class="ruby-comment cmt"># speed up future accesses</span>
591
- (<span class="ruby-keyword kw">class</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">self</span>; <span class="ruby-keyword kw">end</span>).<span class="ruby-identifier">instance_eval</span> <span class="ruby-keyword kw">do</span>
592
- <span class="ruby-identifier">define_method</span> <span class="ruby-identifier">meth</span> <span class="ruby-keyword kw">do</span>
593
- <span class="ruby-identifier">child</span>
594
- <span class="ruby-keyword kw">end</span>
595
- <span class="ruby-keyword kw">end</span>
596
-
597
- <span class="ruby-identifier">child</span>
598
- <span class="ruby-keyword kw">end</span></pre>
599
- </div>
600
- </div>
601
-
602
- </div>
603
-
604
- <div class="method">
605
- <div class="title" id="M000009">
606
-
607
- <a name="M000009"></a><b>open</b>(mode = 'r', &amp;block)
608
-
609
- </div>
610
-
611
- <div class="description">
612
- <p>
613
- Opens this node for I/O access.
614
- </p>
615
- <p>
616
- See Rumai::IXP::Client#open for details.
617
- </p>
618
-
619
- </div>
620
-
621
-
622
-
623
-
624
- <div class="sourcecode">
625
- <p class="source-link">
626
- Source: <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show</a>
627
-
628
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L86" target="_blank" class="github_url">on GitHub</a>
629
-
630
- </p>
631
- <div id="M000009_source" class="dyn-source">
632
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 86</span>
633
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">open</span> <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'r'</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
634
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">open</span> <span class="ruby-ivar">@path</span>, <span class="ruby-identifier">mode</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
635
- <span class="ruby-keyword kw">end</span></pre>
636
- </div>
637
- </div>
638
-
639
- </div>
640
-
641
- <div class="method">
642
- <div class="title" id="M000017">
643
-
644
- <a name="M000017"></a><b>parent</b>()
645
-
646
- </div>
647
-
648
- <div class="description">
649
- <p>
650
- Returns the parent node of this node.
651
- </p>
652
-
653
- </div>
654
-
655
-
656
-
657
-
658
- <div class="sourcecode">
659
- <p class="source-link">
660
- Source: <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show</a>
661
-
662
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L143" target="_blank" class="github_url">on GitHub</a>
663
-
664
- </p>
665
- <div id="M000017_source" class="dyn-source">
666
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 143</span>
667
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parent</span>
668
- <span class="ruby-ivar">@@cache</span>[ <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-ivar">@path</span>) ]
669
- <span class="ruby-keyword kw">end</span></pre>
670
- </div>
671
- </div>
672
-
673
- </div>
674
-
675
- <div class="method">
676
- <div class="title" id="M000010">
677
-
678
- <a name="M000010"></a><b>read</b>(*args)
679
-
680
- </div>
681
-
682
- <div class="description">
683
- <p>
684
- Returns the entire content of this node.
685
- </p>
686
- <p>
687
- See Rumai::IXP::Client#read for details.
688
- </p>
689
-
690
- </div>
691
-
692
-
693
-
694
-
695
- <div class="sourcecode">
696
- <p class="source-link">
697
- Source: <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show</a>
698
-
699
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L95" target="_blank" class="github_url">on GitHub</a>
700
-
701
- </p>
702
- <div id="M000010_source" class="dyn-source">
703
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 95</span>
704
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
705
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">read</span> <span class="ruby-ivar">@path</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
706
- <span class="ruby-keyword kw">end</span></pre>
707
- </div>
708
- </div>
709
-
710
- </div>
711
-
712
- <div class="method">
713
- <div class="title" id="M000015">
714
-
715
- <a name="M000015"></a><b>remove</b>()
716
-
717
- </div>
718
-
719
- <div class="description">
720
- <p>
721
- Deletes the file corresponding to this node on the <a
722
- href="IXP.html">IXP</a> server.
723
- </p>
724
-
725
- </div>
726
-
727
-
728
-
729
-
730
- <div class="sourcecode">
731
- <p class="source-link">
732
- Source: <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show</a>
733
-
734
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L129" target="_blank" class="github_url">on GitHub</a>
735
-
736
- </p>
737
- <div id="M000015_source" class="dyn-source">
738
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 129</span>
739
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>
740
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">remove</span> <span class="ruby-ivar">@path</span>
741
- <span class="ruby-keyword kw">end</span></pre>
742
- </div>
743
- </div>
744
-
745
- </div>
746
-
747
- <div class="method">
748
- <div class="title" id="M000003">
749
-
750
- <a name="M000003"></a><b>stat</b>()
751
-
752
- </div>
753
-
754
- <div class="description">
755
- <p>
756
- Returns file statistics about this node.
757
- </p>
758
- <p>
759
- See Rumai::IXP::Client#stat for details.
760
- </p>
761
-
762
- </div>
763
-
764
-
765
-
766
-
767
- <div class="sourcecode">
768
- <p class="source-link">
769
- Source: <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show</a>
770
-
771
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L48" target="_blank" class="github_url">on GitHub</a>
772
-
773
- </p>
774
- <div id="M000003_source" class="dyn-source">
775
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 48</span>
776
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stat</span>
777
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">stat</span> <span class="ruby-ivar">@path</span>
778
- <span class="ruby-keyword kw">end</span></pre>
779
- </div>
780
- </div>
781
-
782
- </div>
783
-
784
- <div class="method">
785
- <div class="title" id="M000012">
786
-
787
- <a name="M000012"></a><b>write</b>(content)
788
-
789
- </div>
790
-
791
- <div class="description">
792
- <p>
793
- Writes the given content to this node.
794
- </p>
795
-
796
- </div>
797
-
798
-
799
-
800
-
801
- <div class="sourcecode">
802
- <p class="source-link">
803
- Source: <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show</a>
804
-
805
- | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/fs.rb#L113" target="_blank" class="github_url">on GitHub</a>
806
-
807
- </p>
808
- <div id="M000012_source" class="dyn-source">
809
- <pre><span class="ruby-comment cmt"># File lib/rumai/fs.rb, line 113</span>
810
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span> <span class="ruby-identifier">content</span>
811
- <span class="ruby-constant">IXP_AGENT</span>.<span class="ruby-identifier">write</span> <span class="ruby-ivar">@path</span>, <span class="ruby-identifier">content</span>
812
- <span class="ruby-keyword kw">end</span></pre>
813
- </div>
814
- </div>
815
-
816
- </div>
817
-
818
- </div>
819
- </div>
820
- </body>
821
- </html>