rumai 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +13 -23
- data/Rakefile +8 -58
- data/bin/rumai +21 -22
- data/doc/api/IO.html +53 -0
- data/doc/api/Integer.html +102 -0
- data/doc/api/Object.html +23 -0
- data/doc/api/Rumai.html +1218 -0
- data/doc/api/Rumai/Area.html +1088 -0
- data/doc/api/Rumai/Chain.html +230 -0
- data/doc/api/Rumai/Client.html +1264 -0
- data/doc/api/Rumai/ClientContainer.html +227 -0
- data/doc/api/Rumai/ExportInstMethods.html +115 -0
- data/doc/api/Rumai/IXP.html +23 -0
- data/doc/api/Rumai/IXP/Agent.html +1222 -0
- data/doc/api/Rumai/IXP/Agent/FidStream.html +602 -0
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +263 -0
- data/doc/api/Rumai/IXP/Error.html +32 -0
- data/doc/api/Rumai/IXP/Fcall.html +398 -0
- data/doc/api/Rumai/IXP/Qid.html +99 -0
- data/doc/api/Rumai/IXP/Rattach.html +71 -0
- data/doc/api/Rumai/IXP/Rauth.html +71 -0
- data/doc/api/Rumai/IXP/Rclunk.html +71 -0
- data/doc/api/Rumai/IXP/Rcreate.html +71 -0
- data/doc/api/Rumai/IXP/Rerror.html +71 -0
- data/doc/api/Rumai/IXP/Rflush.html +71 -0
- data/doc/api/Rumai/IXP/Ropen.html +71 -0
- data/doc/api/Rumai/IXP/Rread.html +71 -0
- data/doc/api/Rumai/IXP/Rremove.html +71 -0
- data/doc/api/Rumai/IXP/Rstat.html +71 -0
- data/doc/api/Rumai/IXP/Rversion.html +71 -0
- data/doc/api/Rumai/IXP/Rwalk.html +71 -0
- data/doc/api/Rumai/IXP/Rwrite.html +71 -0
- data/doc/api/Rumai/IXP/Rwstat.html +71 -0
- data/doc/api/Rumai/IXP/Stat.html +188 -0
- data/doc/api/Rumai/IXP/Stream.html +112 -0
- data/doc/api/Rumai/IXP/Struct.html +348 -0
- data/doc/api/Rumai/IXP/Struct/ClassField.html +177 -0
- data/doc/api/Rumai/IXP/Struct/Field.html +549 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +175 -0
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +95 -0
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +181 -0
- data/doc/api/Rumai/IXP/Struct/StringField.html +128 -0
- data/doc/api/Rumai/IXP/Tattach.html +71 -0
- data/doc/api/Rumai/IXP/Tauth.html +71 -0
- data/doc/api/Rumai/IXP/Tclunk.html +71 -0
- data/doc/api/Rumai/IXP/Tcreate.html +71 -0
- data/doc/api/Rumai/IXP/Terror.html +156 -0
- data/doc/api/Rumai/IXP/Tflush.html +71 -0
- data/doc/api/Rumai/IXP/Topen.html +113 -0
- data/doc/api/Rumai/IXP/Tread.html +71 -0
- data/doc/api/Rumai/IXP/Tremove.html +71 -0
- data/doc/api/Rumai/IXP/Tstat.html +71 -0
- data/doc/api/Rumai/IXP/Tversion.html +83 -0
- data/doc/api/Rumai/IXP/Twalk.html +71 -0
- data/doc/api/Rumai/IXP/Twrite.html +71 -0
- data/doc/api/Rumai/IXP/Twstat.html +71 -0
- data/doc/api/Rumai/Node.html +1139 -0
- data/doc/api/Rumai/View.html +1280 -0
- data/doc/api/Rumai/WidgetImpl.html +196 -0
- data/doc/api/Rumai/WidgetNode.html +184 -0
- data/doc/api/String.html +180 -0
- data/doc/api/StringIO.html +53 -0
- data/doc/api/Time.html +175 -0
- data/doc/api/all-methods.html +1436 -0
- data/doc/api/all-namespaces.html +140 -0
- data/doc/api/app.js +18 -0
- data/doc/api/index.html +16 -22
- data/doc/api/jquery.js +11 -0
- data/doc/api/readme.html +35 -0
- data/doc/api/style.css +68 -0
- data/doc/api/syntax_highlight.css +21 -0
- data/doc/history.erb +17 -0
- data/doc/index.erb +13 -0
- data/doc/index.xhtml +1235 -0
- data/doc/intro.erb +86 -0
- data/doc/setup.erb +55 -0
- data/doc/theory.erb +3 -0
- data/doc/usage.erb +285 -0
- data/lib/rumai.rb +10 -7
- data/lib/rumai/fs.rb +13 -15
- data/lib/rumai/ixp.rb +2 -7
- data/lib/rumai/ixp/message.rb +0 -3
- data/lib/rumai/ixp/transport.rb +1 -4
- data/lib/rumai/wm.rb +6 -6
- data/test/rumai/ixp/message.rb +249 -0
- metadata +104 -263
- data/README +0 -1
- data/doc/api/classes/IO.html +0 -120
- data/doc/api/classes/Integer.html +0 -142
- data/doc/api/classes/Integer.src/M000002.html +0 -18
- data/doc/api/classes/Object.html +0 -113
- data/doc/api/classes/Rumai.html +0 -530
- data/doc/api/classes/Rumai.src/M000007.html +0 -18
- data/doc/api/classes/Rumai.src/M000008.html +0 -18
- data/doc/api/classes/Rumai.src/M000009.html +0 -18
- data/doc/api/classes/Rumai.src/M000010.html +0 -18
- data/doc/api/classes/Rumai.src/M000011.html +0 -18
- data/doc/api/classes/Rumai.src/M000012.html +0 -18
- data/doc/api/classes/Rumai.src/M000013.html +0 -18
- data/doc/api/classes/Rumai.src/M000014.html +0 -20
- data/doc/api/classes/Rumai.src/M000015.html +0 -18
- data/doc/api/classes/Rumai.src/M000016.html +0 -18
- data/doc/api/classes/Rumai.src/M000017.html +0 -18
- data/doc/api/classes/Rumai.src/M000018.html +0 -18
- data/doc/api/classes/Rumai.src/M000019.html +0 -18
- data/doc/api/classes/Rumai.src/M000020.html +0 -18
- data/doc/api/classes/Rumai.src/M000021.html +0 -18
- data/doc/api/classes/Rumai.src/M000022.html +0 -18
- data/doc/api/classes/Rumai.src/M000023.html +0 -18
- data/doc/api/classes/Rumai.src/M000024.html +0 -18
- data/doc/api/classes/Rumai.src/M000025.html +0 -18
- data/doc/api/classes/Rumai.src/M000026.html +0 -18
- data/doc/api/classes/Rumai/Area.html +0 -461
- data/doc/api/classes/Rumai/Area.src/M000079.html +0 -19
- data/doc/api/classes/Rumai/Area.src/M000080.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000081.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000082.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000083.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000084.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000085.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000086.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000087.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000088.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000089.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000090.html +0 -22
- data/doc/api/classes/Rumai/Area.src/M000092.html +0 -23
- data/doc/api/classes/Rumai/Area.src/M000093.html +0 -28
- data/doc/api/classes/Rumai/Area.src/M000094.html +0 -18
- data/doc/api/classes/Rumai/Area.src/M000095.html +0 -31
- data/doc/api/classes/Rumai/Chain.html +0 -179
- data/doc/api/classes/Rumai/Chain.src/M000076.html +0 -18
- data/doc/api/classes/Rumai/Chain.src/M000077.html +0 -18
- data/doc/api/classes/Rumai/Chain.src/M000078.html +0 -18
- data/doc/api/classes/Rumai/Client.html +0 -481
- data/doc/api/classes/Rumai/Client.src/M000113.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000114.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000115.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000116.html +0 -39
- data/doc/api/classes/Rumai/Client.src/M000117.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000118.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000119.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000120.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000121.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000122.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000123.html +0 -19
- data/doc/api/classes/Rumai/Client.src/M000124.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000125.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000126.html +0 -22
- data/doc/api/classes/Rumai/Client.src/M000127.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000128.html +0 -20
- data/doc/api/classes/Rumai/Client.src/M000129.html +0 -18
- data/doc/api/classes/Rumai/Client.src/M000130.html +0 -22
- data/doc/api/classes/Rumai/ClientContainer.html +0 -180
- data/doc/api/classes/Rumai/ClientContainer.src/M000027.html +0 -18
- data/doc/api/classes/Rumai/ClientContainer.src/M000028.html +0 -18
- data/doc/api/classes/Rumai/ClientContainer.src/M000029.html +0 -18
- data/doc/api/classes/Rumai/ExportInstMethods.html +0 -119
- data/doc/api/classes/Rumai/IXP.html +0 -149
- data/doc/api/classes/Rumai/IXP/Agent.html +0 -447
- data/doc/api/classes/Rumai/IXP/Agent.src/M000044.html +0 -53
- data/doc/api/classes/Rumai/IXP/Agent.src/M000045.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent.src/M000046.html +0 -39
- data/doc/api/classes/Rumai/IXP/Agent.src/M000047.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000048.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent.src/M000049.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000050.html +0 -33
- data/doc/api/classes/Rumai/IXP/Agent.src/M000051.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent.src/M000052.html +0 -18
- data/doc/api/classes/Rumai/IXP/Agent.src/M000053.html +0 -21
- data/doc/api/classes/Rumai/IXP/Agent.src/M000054.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000055.html +0 -20
- data/doc/api/classes/Rumai/IXP/Agent.src/M000056.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent.src/M000057.html +0 -23
- data/doc/api/classes/Rumai/IXP/Agent.src/M000058.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +0 -312
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000060.html +0 -23
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000061.html +0 -19
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000062.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000063.html +0 -18
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000064.html +0 -45
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.src/M000065.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +0 -130
- data/doc/api/classes/Rumai/IXP/Agent/MODES.src/M000059.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +0 -203
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000067.html +0 -22
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000068.html +0 -36
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.src/M000069.html +0 -18
- data/doc/api/classes/Rumai/IXP/Error.html +0 -117
- data/doc/api/classes/Rumai/IXP/Fcall.html +0 -261
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000070.html +0 -20
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000071.html +0 -25
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000072.html +0 -18
- data/doc/api/classes/Rumai/IXP/Fcall.src/M000073.html +0 -18
- data/doc/api/classes/Rumai/IXP/Qid.html +0 -184
- data/doc/api/classes/Rumai/IXP/Rattach.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rauth.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rclunk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rcreate.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rerror.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rflush.html +0 -119
- data/doc/api/classes/Rumai/IXP/Ropen.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rread.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rremove.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rversion.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwalk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwrite.html +0 -119
- data/doc/api/classes/Rumai/IXP/Rwstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Stat.html +0 -248
- data/doc/api/classes/Rumai/IXP/Stat.src/M000075.html +0 -18
- data/doc/api/classes/Rumai/IXP/Stream.html +0 -158
- data/doc/api/classes/Rumai/IXP/Stream.src/M000043.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct.html +0 -221
- data/doc/api/classes/Rumai/IXP/Struct.src/M000030.html +0 -19
- data/doc/api/classes/Rumai/IXP/Struct.src/M000031.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct.src/M000032.html +0 -20
- data/doc/api/classes/Rumai/IXP/Struct.src/M000033.html +0 -57
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +0 -296
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000034.html +0 -21
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000035.html +0 -21
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000036.html +0 -20
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000037.html +0 -29
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000038.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct/Field.src/M000039.html +0 -18
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +0 -152
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000041.html +0 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.src/M000042.html +0 -25
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +0 -137
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.src/M000040.html +0 -18
- data/doc/api/classes/Rumai/IXP/Tattach.html +0 -120
- data/doc/api/classes/Rumai/IXP/Tauth.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tclunk.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tcreate.html +0 -120
- data/doc/api/classes/Rumai/IXP/Terror.html +0 -145
- data/doc/api/classes/Rumai/IXP/Terror.src/M000074.html +0 -18
- data/doc/api/classes/Rumai/IXP/Tflush.html +0 -119
- data/doc/api/classes/Rumai/IXP/Topen.html +0 -193
- data/doc/api/classes/Rumai/IXP/Tread.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tremove.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tstat.html +0 -119
- data/doc/api/classes/Rumai/IXP/Tversion.html +0 -137
- data/doc/api/classes/Rumai/IXP/Twalk.html +0 -120
- data/doc/api/classes/Rumai/IXP/Twrite.html +0 -120
- data/doc/api/classes/Rumai/IXP/Twstat.html +0 -119
- data/doc/api/classes/Rumai/Node.html +0 -461
- data/doc/api/classes/Rumai/Node.src/M000096.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000097.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000098.html +0 -22
- data/doc/api/classes/Rumai/Node.src/M000099.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000100.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000101.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000102.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000103.html +0 -22
- data/doc/api/classes/Rumai/Node.src/M000104.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000105.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000106.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000107.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000108.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000109.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000110.html +0 -18
- data/doc/api/classes/Rumai/Node.src/M000111.html +0 -20
- data/doc/api/classes/Rumai/Node.src/M000112.html +0 -27
- data/doc/api/classes/Rumai/View.html +0 -436
- data/doc/api/classes/Rumai/View.src/M000131.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000132.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000133.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000134.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000135.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000136.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000137.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000138.html +0 -28
- data/doc/api/classes/Rumai/View.src/M000139.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000140.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000141.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000142.html +0 -18
- data/doc/api/classes/Rumai/View.src/M000143.html +0 -29
- data/doc/api/classes/Rumai/View.src/M000144.html +0 -20
- data/doc/api/classes/Rumai/View.src/M000145.html +0 -33
- data/doc/api/classes/Rumai/View.src/M000146.html +0 -50
- data/doc/api/classes/String.html +0 -169
- data/doc/api/classes/String.src/M000005.html +0 -18
- data/doc/api/classes/String.src/M000006.html +0 -18
- data/doc/api/classes/StringIO.html +0 -120
- data/doc/api/classes/Time.html +0 -163
- data/doc/api/classes/Time.src/M000003.html +0 -18
- data/doc/api/classes/Time.src/M000004.html +0 -18
- data/doc/api/created.rid +0 -1
- data/doc/api/files/lib/rumai/fs_rb.html +0 -115
- data/doc/api/files/lib/rumai/ixp/message_rb.html +0 -120
- data/doc/api/files/lib/rumai/ixp/message_spec_rb.html +0 -175
- data/doc/api/files/lib/rumai/ixp/message_spec_rb.src/M000001.html +0 -37
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +0 -115
- data/doc/api/files/lib/rumai/ixp_rb.html +0 -116
- data/doc/api/files/lib/rumai/nfo_rb.html +0 -107
- data/doc/api/files/lib/rumai/wm_rb.html +0 -115
- data/doc/api/files/lib/rumai_rb.html +0 -115
- data/doc/api/fr_class_index.html +0 -82
- data/doc/api/fr_file_index.html +0 -34
- data/doc/api/fr_method_index.html +0 -172
- data/doc/api/rdoc-style.css +0 -208
- data/doc/guide.erb +0 -390
- data/doc/guide.html +0 -2043
- data/lib/rumai/ixp/message_spec.rb +0 -247
- data/lib/rumai/nfo.rb +0 -24
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::IXP::Twalk</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Twalk">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Twalk</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../Object.html" title="Object">Object</a></li><ul><li><a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></li><ul><li>Rumai::IXP::Twalk</li>
|
20
|
+
</ul></ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
size[4] Twalk tag[2] fid[4] newfid[4] nwname[2] nwname*(wname[s])
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
<div class="inherited">
|
28
|
+
|
29
|
+
<div>
|
30
|
+
<h1>Constants Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
31
|
+
<p><span class='name'><a href="Fcall.html#CLASS_TO_TYPE-constant" title="CLASS_TO_TYPE">CLASS_TO_TYPE</a></span>, <span class='name'><a href="Fcall.html#TYPE_TO_CLASS-constant" title="TYPE_TO_CLASS">TYPE_TO_CLASS</a></span></p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div><div class="section constructor">
|
37
|
+
<h1>Constructor Summary</h1>
|
38
|
+
<p class="inherited_msg">
|
39
|
+
This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
|
40
|
+
</p>
|
41
|
+
</div> <div class="section visibilitygroup public">
|
42
|
+
<h1>Public Visibility</h1>
|
43
|
+
<div class="section methodsummary class public">
|
44
|
+
<div class="inherited">
|
45
|
+
|
46
|
+
<div>
|
47
|
+
<h1>Public Class Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
48
|
+
<p><span class='name'><a href="Fcall.html#from_9p-class_method" title="from_9p">from_9p</a></span>, <span class='name'><a href="Fcall.html#type-class_method" title="type">type</a></span></p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
54
|
+
<div class="section methodsummary instance public">
|
55
|
+
<div class="inherited">
|
56
|
+
|
57
|
+
<div>
|
58
|
+
<h1>Public Instance Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
59
|
+
<p><span class='name'><a href="Fcall.html#to_9p-instance_method" title="to_9p">to_9p</a></span>, <span class='name'><a href="Fcall.html#type-instance_method" title="type">type</a></span></p>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<div class="clear"></div>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::IXP::Twrite</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Twrite">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Twrite</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../Object.html" title="Object">Object</a></li><ul><li><a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></li><ul><li>Rumai::IXP::Twrite</li>
|
20
|
+
</ul></ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
size[4] Twrite tag[2] fid[4] offset[8] count[4] data[count]
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
<div class="inherited">
|
28
|
+
|
29
|
+
<div>
|
30
|
+
<h1>Constants Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
31
|
+
<p><span class='name'><a href="Fcall.html#CLASS_TO_TYPE-constant" title="CLASS_TO_TYPE">CLASS_TO_TYPE</a></span>, <span class='name'><a href="Fcall.html#TYPE_TO_CLASS-constant" title="TYPE_TO_CLASS">TYPE_TO_CLASS</a></span></p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div><div class="section constructor">
|
37
|
+
<h1>Constructor Summary</h1>
|
38
|
+
<p class="inherited_msg">
|
39
|
+
This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
|
40
|
+
</p>
|
41
|
+
</div> <div class="section visibilitygroup public">
|
42
|
+
<h1>Public Visibility</h1>
|
43
|
+
<div class="section methodsummary class public">
|
44
|
+
<div class="inherited">
|
45
|
+
|
46
|
+
<div>
|
47
|
+
<h1>Public Class Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
48
|
+
<p><span class='name'><a href="Fcall.html#from_9p-class_method" title="from_9p">from_9p</a></span>, <span class='name'><a href="Fcall.html#type-class_method" title="type">type</a></span></p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
54
|
+
<div class="section methodsummary instance public">
|
55
|
+
<div class="inherited">
|
56
|
+
|
57
|
+
<div>
|
58
|
+
<h1>Public Instance Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
59
|
+
<p><span class='name'><a href="Fcall.html#to_9p-instance_method" title="to_9p">to_9p</a></span>, <span class='name'><a href="Fcall.html#type-instance_method" title="type">type</a></span></p>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<div class="clear"></div>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::IXP::Twstat</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_IXP_Twstat">
|
16
|
+
<h1 class="title">Class: Rumai::IXP::Twstat</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../../Object.html" title="Object">Object</a></li><ul><li><a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></li><ul><li>Rumai::IXP::Twstat</li>
|
20
|
+
</ul></ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
size[4] Twstat tag[2] fid[4] stat[n]
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
<div class="inherited">
|
28
|
+
|
29
|
+
<div>
|
30
|
+
<h1>Constants Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
31
|
+
<p><span class='name'><a href="Fcall.html#CLASS_TO_TYPE-constant" title="CLASS_TO_TYPE">CLASS_TO_TYPE</a></span>, <span class='name'><a href="Fcall.html#TYPE_TO_CLASS-constant" title="TYPE_TO_CLASS">TYPE_TO_CLASS</a></span></p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div><div class="section constructor">
|
37
|
+
<h1>Constructor Summary</h1>
|
38
|
+
<p class="inherited_msg">
|
39
|
+
This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct">Rumai::IXP::Struct</a>.
|
40
|
+
</p>
|
41
|
+
</div> <div class="section visibilitygroup public">
|
42
|
+
<h1>Public Visibility</h1>
|
43
|
+
<div class="section methodsummary class public">
|
44
|
+
<div class="inherited">
|
45
|
+
|
46
|
+
<div>
|
47
|
+
<h1>Public Class Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
48
|
+
<p><span class='name'><a href="Fcall.html#from_9p-class_method" title="from_9p">from_9p</a></span>, <span class='name'><a href="Fcall.html#type-class_method" title="type">type</a></span></p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
54
|
+
<div class="section methodsummary instance public">
|
55
|
+
<div class="inherited">
|
56
|
+
|
57
|
+
<div>
|
58
|
+
<h1>Public Instance Methods Inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall">Rumai::IXP::Fcall</a></h1>
|
59
|
+
<p><span class='name'><a href="Fcall.html#to_9p-instance_method" title="to_9p">to_9p</a></span>, <span class='name'><a href="Fcall.html#type-instance_method" title="type">type</a></span></p>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<div class="clear"></div>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
</div>
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</body>
|
71
|
+
</html>
|
@@ -0,0 +1,1139 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
+
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
+
|
9
|
+
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
+
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
+
<title>Class: Rumai::Node</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rumai_Node">
|
16
|
+
<h1 class="title">Class: Rumai::Node</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="../Object.html" title="Object">Object</a></li><ul><li>Rumai::Node</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section mixins">
|
22
|
+
<h1>Included Modules</h1>
|
23
|
+
<p>Enumerable</p>
|
24
|
+
</div><div class="section docstring">
|
25
|
+
<p>
|
26
|
+
An entry in the IXP file system.
|
27
|
+
</p>
|
28
|
+
|
29
|
+
</div><div class="section attributes">
|
30
|
+
<h1>Attributes</h1>
|
31
|
+
|
32
|
+
|
33
|
+
<div class="instance">
|
34
|
+
<h2>Instance Attributes</h2>
|
35
|
+
<table>
|
36
|
+
|
37
|
+
<tr>
|
38
|
+
<th class="name">path</td>
|
39
|
+
<td class="readwrite">
|
40
|
+
[<span id='path-instance_method'>R</span>W]
|
41
|
+
</td>
|
42
|
+
<td class="visibility">
|
43
|
+
public
|
44
|
+
</td>
|
45
|
+
<td class="docstring">
|
46
|
+
<p>
|
47
|
+
Returns the value of attribute <tt>path</tt>.
|
48
|
+
</p>
|
49
|
+
|
50
|
+
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
|
54
|
+
</table>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div><div class="section constants">
|
58
|
+
|
59
|
+
</div><div class="section constructor">
|
60
|
+
<h1>Constructor Summary</h1>
|
61
|
+
<div id="initialize-instance_method" class="section method">
|
62
|
+
<div class="details_title">
|
63
|
+
<div class='section methodsignature'>
|
64
|
+
<tt class='def'>
|
65
|
+
<span class='visibility'>public</span>
|
66
|
+
<span class='return_types'></span>
|
67
|
+
<span class='name'>initialize</span><span class='args'>(aPath)</span>
|
68
|
+
<span class='block'></span>
|
69
|
+
</tt>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
</div><div class="section source">
|
73
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
74
|
+
<div class="source_code">
|
75
|
+
<table>
|
76
|
+
<tr>
|
77
|
+
<td>
|
78
|
+
<pre class="lines">
|
79
|
+
|
80
|
+
|
81
|
+
31
|
82
|
+
32
|
83
|
+
33</pre>
|
84
|
+
</td>
|
85
|
+
<td>
|
86
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 31</span>
|
87
|
+
|
88
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span> <span class='aPath identifier id'>aPath</span>
|
89
|
+
<span class='@path ivar id'>@path</span> <span class='assign token'>=</span> <span class='aPath identifier id'>aPath</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='squeeze identifier id'>squeeze</span><span class='lparen token'>(</span><span class='string val'>'/'</span><span class='rparen token'>)</span>
|
90
|
+
<span class='end end kw'>end</span>
|
91
|
+
</pre>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
</table>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
</div>
|
98
|
+
</div><div class="section methodmissing">
|
99
|
+
<h1>Dynamic Method Handling</h1>
|
100
|
+
|
101
|
+
<p class="note">
|
102
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
103
|
+
|
104
|
+
</p>
|
105
|
+
|
106
|
+
<div id="method_missing-instance_method" class="section method">
|
107
|
+
<div class="details_title">
|
108
|
+
<div class='section methodsignature'>
|
109
|
+
<tt class='def'>
|
110
|
+
<span class='visibility'>public</span>
|
111
|
+
<span class='return_types'></span>
|
112
|
+
<span class='name'>method_missing</span><span class='args'>(aMeth, *aArgs)</span>
|
113
|
+
<span class='block'></span>
|
114
|
+
</tt>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
</div><div class="section docstring">
|
118
|
+
<p>
|
119
|
+
Provides access to child nodes through method calls.
|
120
|
+
</p>
|
121
|
+
<p>
|
122
|
+
:call-seq: node.child -> Node
|
123
|
+
</p>
|
124
|
+
|
125
|
+
</div><div class="section source">
|
126
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
127
|
+
<div class="source_code">
|
128
|
+
<table>
|
129
|
+
<tr>
|
130
|
+
<td>
|
131
|
+
<pre class="lines">
|
132
|
+
|
133
|
+
|
134
|
+
129
|
135
|
+
130
|
136
|
+
131
|
137
|
+
132
|
138
|
+
133
|
139
|
+
134
|
140
|
+
135
|
141
|
+
136
|
142
|
+
137
|
143
|
+
138
|
144
|
+
139
|
145
|
+
140</pre>
|
146
|
+
</td>
|
147
|
+
<td>
|
148
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 129</span>
|
149
|
+
|
150
|
+
<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span> <span class='aMeth identifier id'>aMeth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
|
151
|
+
<span class='child identifier id'>child</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='aMeth identifier id'>aMeth</span><span class='rbrack token'>]</span>
|
152
|
+
|
153
|
+
<span class='comment val'># speed up future accesses</span>
|
154
|
+
<span class='lparen token'>(</span><span class='class class kw'>class</span> <span class='lshft op'><<</span> <span class='self self kw'>self</span><span class='semicolon token'>;</span> <span class='self self kw'>self</span><span class='semicolon token'>;</span> <span class='end end kw'>end</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='instance_eval identifier id'>instance_eval</span> <span class='do do kw'>do</span>
|
155
|
+
<span class='define_method identifier id'>define_method</span> <span class='aMeth identifier id'>aMeth</span> <span class='do do kw'>do</span>
|
156
|
+
<span class='child identifier id'>child</span>
|
157
|
+
<span class='end end kw'>end</span>
|
158
|
+
<span class='end end kw'>end</span>
|
159
|
+
|
160
|
+
<span class='child identifier id'>child</span>
|
161
|
+
<span class='end end kw'>end</span>
|
162
|
+
</pre>
|
163
|
+
</td>
|
164
|
+
</tr>
|
165
|
+
</table>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
</div>
|
169
|
+
</div> <div class="section visibilitygroup public">
|
170
|
+
<h1>Public Visibility</h1>
|
171
|
+
<div class="section methodsummary instance public">
|
172
|
+
<h1>Public Instance Method Summary</h1>
|
173
|
+
<table class="summary">
|
174
|
+
|
175
|
+
<tr>
|
176
|
+
<th class="signature">
|
177
|
+
<span class='name'><a href="#%5B%5D-instance_method" title="#[]">#[]</a></span><span class='args'>(aSubPath)</span>
|
178
|
+
<span class='block'></span>
|
179
|
+
|
180
|
+
</th>
|
181
|
+
<td class="docstring">
|
182
|
+
<p>
|
183
|
+
Returns the given sub-path as a Node object.
|
184
|
+
</p>
|
185
|
+
|
186
|
+
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
|
190
|
+
<tr>
|
191
|
+
<th class="signature">
|
192
|
+
<span class='name'><a href="#children-instance_method" title="#children">#children</a></span><span class='args'></span>
|
193
|
+
<span class='block'></span>
|
194
|
+
|
195
|
+
</th>
|
196
|
+
<td class="docstring">
|
197
|
+
<p>
|
198
|
+
Returns all child nodes of this node.
|
199
|
+
</p>
|
200
|
+
|
201
|
+
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
|
205
|
+
<tr>
|
206
|
+
<th class="signature">
|
207
|
+
<span class='name'><a href="#clear-instance_method" title="#clear">#clear</a></span><span class='args'></span>
|
208
|
+
<span class='block'></span>
|
209
|
+
|
210
|
+
</th>
|
211
|
+
<td class="docstring">
|
212
|
+
<p>
|
213
|
+
Deletes all child nodes.
|
214
|
+
</p>
|
215
|
+
|
216
|
+
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
|
220
|
+
<tr>
|
221
|
+
<th class="signature">
|
222
|
+
<span class='name'><a href="#create-instance_method" title="#create">#create</a></span><span class='args'>(*aArgs)</span>
|
223
|
+
<span class='block'></span>
|
224
|
+
|
225
|
+
</th>
|
226
|
+
<td class="docstring">
|
227
|
+
<p>
|
228
|
+
Creates a file corresponding to this node on the IXP server.
|
229
|
+
</p>
|
230
|
+
|
231
|
+
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
|
235
|
+
<tr>
|
236
|
+
<th class="signature">
|
237
|
+
<span class='name'><a href="#directory%3F-instance_method" title="#directory?">#directory?</a></span><span class='args'></span>
|
238
|
+
<span class='block'></span>
|
239
|
+
|
240
|
+
</th>
|
241
|
+
<td class="docstring">
|
242
|
+
<p>
|
243
|
+
Tests if this node is a directory.
|
244
|
+
</p>
|
245
|
+
|
246
|
+
|
247
|
+
</td>
|
248
|
+
</tr>
|
249
|
+
|
250
|
+
<tr>
|
251
|
+
<th class="signature">
|
252
|
+
<span class='name'><a href="#each-instance_method" title="#each">#each</a></span><span class='args'>(&aBlock)</span>
|
253
|
+
<span class='block'></span>
|
254
|
+
|
255
|
+
</th>
|
256
|
+
<td class="docstring">
|
257
|
+
<p>
|
258
|
+
Iterates through each child of this directory.
|
259
|
+
</p>
|
260
|
+
|
261
|
+
|
262
|
+
</td>
|
263
|
+
</tr>
|
264
|
+
|
265
|
+
<tr>
|
266
|
+
<th class="signature">
|
267
|
+
<span class='name'><a href="#each_line-instance_method" title="#each_line">#each_line</a></span><span class='args'>(&aBlock)</span>
|
268
|
+
<span class='block'></span>
|
269
|
+
|
270
|
+
</th>
|
271
|
+
<td class="docstring">
|
272
|
+
<p>
|
273
|
+
Invokes the given block for every line in the content of this node.
|
274
|
+
</p>
|
275
|
+
|
276
|
+
|
277
|
+
</td>
|
278
|
+
</tr>
|
279
|
+
|
280
|
+
<tr>
|
281
|
+
<th class="signature">
|
282
|
+
<span class='name'><a href="#entries-instance_method" title="#entries">#entries</a></span><span class='args'></span>
|
283
|
+
<span class='block'></span>
|
284
|
+
|
285
|
+
</th>
|
286
|
+
<td class="docstring">
|
287
|
+
<p>
|
288
|
+
Returns the names of all files in this directory.
|
289
|
+
</p>
|
290
|
+
|
291
|
+
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
|
295
|
+
<tr>
|
296
|
+
<th class="signature">
|
297
|
+
<span class='name'><a href="#exist%3F-instance_method" title="#exist?">#exist?</a></span><span class='args'></span>
|
298
|
+
<span class='block'></span>
|
299
|
+
|
300
|
+
</th>
|
301
|
+
<td class="docstring">
|
302
|
+
<p>
|
303
|
+
Tests if this node exists on the IXP server.
|
304
|
+
</p>
|
305
|
+
|
306
|
+
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
|
310
|
+
<tr>
|
311
|
+
<th class="signature">
|
312
|
+
<span class='name'><a href="#open-instance_method" title="#open">#open</a></span><span class='args'>(aMode = 'r', &aBlock)</span>
|
313
|
+
<span class='block'></span>
|
314
|
+
|
315
|
+
</th>
|
316
|
+
<td class="docstring">
|
317
|
+
<p>
|
318
|
+
Opens this node for I/O access.
|
319
|
+
</p>
|
320
|
+
|
321
|
+
|
322
|
+
</td>
|
323
|
+
</tr>
|
324
|
+
|
325
|
+
<tr>
|
326
|
+
<th class="signature">
|
327
|
+
<span class='name'><a href="#parent-instance_method" title="#parent">#parent</a></span><span class='args'></span>
|
328
|
+
<span class='block'></span>
|
329
|
+
|
330
|
+
</th>
|
331
|
+
<td class="docstring">
|
332
|
+
<p>
|
333
|
+
Returns the parent node of this node.
|
334
|
+
</p>
|
335
|
+
|
336
|
+
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
|
340
|
+
<tr>
|
341
|
+
<th class="signature">
|
342
|
+
<span class='name'><a href="#read-instance_method" title="#read">#read</a></span><span class='args'>(*aArgs)</span>
|
343
|
+
<span class='block'></span>
|
344
|
+
|
345
|
+
</th>
|
346
|
+
<td class="docstring">
|
347
|
+
<p>
|
348
|
+
Returns the entire content of this node.
|
349
|
+
</p>
|
350
|
+
|
351
|
+
|
352
|
+
</td>
|
353
|
+
</tr>
|
354
|
+
|
355
|
+
<tr>
|
356
|
+
<th class="signature">
|
357
|
+
<span class='name'><a href="#remove-instance_method" title="#remove">#remove</a></span><span class='args'></span>
|
358
|
+
<span class='block'></span>
|
359
|
+
|
360
|
+
</th>
|
361
|
+
<td class="docstring">
|
362
|
+
<p>
|
363
|
+
Deletes the file corresponding to this node on the IXP server.
|
364
|
+
</p>
|
365
|
+
|
366
|
+
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
|
370
|
+
<tr>
|
371
|
+
<th class="signature">
|
372
|
+
<span class='name'><a href="#stat-instance_method" title="#stat">#stat</a></span><span class='args'></span>
|
373
|
+
<span class='block'></span>
|
374
|
+
|
375
|
+
</th>
|
376
|
+
<td class="docstring">
|
377
|
+
<p>
|
378
|
+
Returns file statistics about this node.
|
379
|
+
</p>
|
380
|
+
|
381
|
+
|
382
|
+
</td>
|
383
|
+
</tr>
|
384
|
+
|
385
|
+
<tr>
|
386
|
+
<th class="signature">
|
387
|
+
<span class='name'><a href="#write-instance_method" title="#write">#write</a></span><span class='args'>(aContent)</span>
|
388
|
+
<span class='block'></span>
|
389
|
+
|
390
|
+
</th>
|
391
|
+
<td class="docstring">
|
392
|
+
<p>
|
393
|
+
Writes the given content to this node.
|
394
|
+
</p>
|
395
|
+
|
396
|
+
|
397
|
+
</td>
|
398
|
+
</tr>
|
399
|
+
|
400
|
+
</table>
|
401
|
+
</div>
|
402
|
+
<div class="section methoddetails instance public">
|
403
|
+
<h1>Public Instance Method Details</h1>
|
404
|
+
|
405
|
+
<div class="method">
|
406
|
+
<div class="method_header">
|
407
|
+
<h3>[]</h3>
|
408
|
+
</div><div id="%5B%5D-instance_method" class="section method">
|
409
|
+
<div class="details_title">
|
410
|
+
<div class='section methodsignature'>
|
411
|
+
<tt class='def'>
|
412
|
+
<span class='visibility'>public</span>
|
413
|
+
<span class='return_types'></span>
|
414
|
+
<span class='name'>[]</span><span class='args'>(aSubPath)</span>
|
415
|
+
<span class='block'></span>
|
416
|
+
</tt>
|
417
|
+
</div>
|
418
|
+
|
419
|
+
</div><div class="section docstring">
|
420
|
+
<p>
|
421
|
+
Returns the given sub-path as a Node object.
|
422
|
+
</p>
|
423
|
+
|
424
|
+
</div><div class="section source">
|
425
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
426
|
+
<div class="source_code">
|
427
|
+
<table>
|
428
|
+
<tr>
|
429
|
+
<td>
|
430
|
+
<pre class="lines">
|
431
|
+
|
432
|
+
|
433
|
+
98
|
434
|
+
99
|
435
|
+
100</pre>
|
436
|
+
</td>
|
437
|
+
<td>
|
438
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 98</span>
|
439
|
+
|
440
|
+
<span class='def def kw'>def</span> <span class='aref op'>[]</span> <span class='aSubPath identifier id'>aSubPath</span>
|
441
|
+
<span class='@@cache ivar id'>@@cache</span><span class='lbrack token'>[</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='@path ivar id'>@path</span><span class='comma token'>,</span> <span class='aSubPath identifier id'>aSubPath</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='rparen token'>)</span> <span class='rbrack token'>]</span>
|
442
|
+
<span class='end end kw'>end</span>
|
443
|
+
</pre>
|
444
|
+
</td>
|
445
|
+
</tr>
|
446
|
+
</table>
|
447
|
+
</div>
|
448
|
+
</div>
|
449
|
+
</div>
|
450
|
+
</div>
|
451
|
+
|
452
|
+
<div class="method">
|
453
|
+
<div class="method_header">
|
454
|
+
<h3>children</h3>
|
455
|
+
</div><div id="children-instance_method" class="section method">
|
456
|
+
<div class="details_title">
|
457
|
+
<div class='section methodsignature'>
|
458
|
+
<tt class='def'>
|
459
|
+
<span class='visibility'>public</span>
|
460
|
+
<span class='return_types'></span>
|
461
|
+
<span class='name'>children</span><span class='args'></span>
|
462
|
+
<span class='block'></span>
|
463
|
+
</tt>
|
464
|
+
</div>
|
465
|
+
|
466
|
+
</div><div class="section docstring">
|
467
|
+
<p>
|
468
|
+
Returns all child nodes of this node.
|
469
|
+
</p>
|
470
|
+
|
471
|
+
</div><div class="section source">
|
472
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
473
|
+
<div class="source_code">
|
474
|
+
<table>
|
475
|
+
<tr>
|
476
|
+
<td>
|
477
|
+
<pre class="lines">
|
478
|
+
|
479
|
+
|
480
|
+
108
|
481
|
+
109
|
482
|
+
110</pre>
|
483
|
+
</td>
|
484
|
+
<td>
|
485
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 108</span>
|
486
|
+
|
487
|
+
<span class='def def kw'>def</span> <span class='children identifier id'>children</span>
|
488
|
+
<span class='entries identifier id'>entries</span><span class='dot token'>.</span><span class='map! fid id'>map!</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='c identifier id'>c</span><span class='bitor op'>|</span> <span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='c identifier id'>c</span><span class='rbrack token'>]</span> <span class='rbrace token'>}</span>
|
489
|
+
<span class='end end kw'>end</span>
|
490
|
+
</pre>
|
491
|
+
</td>
|
492
|
+
</tr>
|
493
|
+
</table>
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
</div>
|
497
|
+
</div>
|
498
|
+
|
499
|
+
<div class="method">
|
500
|
+
<div class="method_header">
|
501
|
+
<h3>clear</h3>
|
502
|
+
</div><div id="clear-instance_method" class="section method">
|
503
|
+
<div class="details_title">
|
504
|
+
<div class='section methodsignature'>
|
505
|
+
<tt class='def'>
|
506
|
+
<span class='visibility'>public</span>
|
507
|
+
<span class='return_types'></span>
|
508
|
+
<span class='name'>clear</span><span class='args'></span>
|
509
|
+
<span class='block'></span>
|
510
|
+
</tt>
|
511
|
+
</div>
|
512
|
+
|
513
|
+
</div><div class="section docstring">
|
514
|
+
<p>
|
515
|
+
Deletes all child nodes.
|
516
|
+
</p>
|
517
|
+
|
518
|
+
</div><div class="section source">
|
519
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
520
|
+
<div class="source_code">
|
521
|
+
<table>
|
522
|
+
<tr>
|
523
|
+
<td>
|
524
|
+
<pre class="lines">
|
525
|
+
|
526
|
+
|
527
|
+
119
|
528
|
+
120
|
529
|
+
121
|
530
|
+
122
|
531
|
+
123</pre>
|
532
|
+
</td>
|
533
|
+
<td>
|
534
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 119</span>
|
535
|
+
|
536
|
+
<span class='def def kw'>def</span> <span class='clear identifier id'>clear</span>
|
537
|
+
<span class='children identifier id'>children</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='c identifier id'>c</span><span class='bitor op'>|</span>
|
538
|
+
<span class='c identifier id'>c</span><span class='dot token'>.</span><span class='remove identifier id'>remove</span>
|
539
|
+
<span class='end end kw'>end</span>
|
540
|
+
<span class='end end kw'>end</span>
|
541
|
+
</pre>
|
542
|
+
</td>
|
543
|
+
</tr>
|
544
|
+
</table>
|
545
|
+
</div>
|
546
|
+
</div>
|
547
|
+
</div>
|
548
|
+
</div>
|
549
|
+
|
550
|
+
<div class="method">
|
551
|
+
<div class="method_header">
|
552
|
+
<h3>create</h3>
|
553
|
+
</div><div id="create-instance_method" class="section method">
|
554
|
+
<div class="details_title">
|
555
|
+
<div class='section methodsignature'>
|
556
|
+
<tt class='def'>
|
557
|
+
<span class='visibility'>public</span>
|
558
|
+
<span class='return_types'></span>
|
559
|
+
<span class='name'>create</span><span class='args'>(*aArgs)</span>
|
560
|
+
<span class='block'></span>
|
561
|
+
</tt>
|
562
|
+
</div>
|
563
|
+
|
564
|
+
</div><div class="section docstring">
|
565
|
+
<p>
|
566
|
+
Creates a file corresponding to this node on the IXP server. See
|
567
|
+
Rumai::IXP::Client#create for details.
|
568
|
+
</p>
|
569
|
+
|
570
|
+
</div><div class="section source">
|
571
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
572
|
+
<div class="source_code">
|
573
|
+
<table>
|
574
|
+
<tr>
|
575
|
+
<td>
|
576
|
+
<pre class="lines">
|
577
|
+
|
578
|
+
|
579
|
+
88
|
580
|
+
89
|
581
|
+
90</pre>
|
582
|
+
</td>
|
583
|
+
<td>
|
584
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 88</span>
|
585
|
+
|
586
|
+
<span class='def def kw'>def</span> <span class='create identifier id'>create</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
|
587
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='create identifier id'>create</span> <span class='@path ivar id'>@path</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
|
588
|
+
<span class='end end kw'>end</span>
|
589
|
+
</pre>
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
</table>
|
593
|
+
</div>
|
594
|
+
</div>
|
595
|
+
</div>
|
596
|
+
</div>
|
597
|
+
|
598
|
+
<div class="method">
|
599
|
+
<div class="method_header">
|
600
|
+
<h3>directory?</h3>
|
601
|
+
</div><div id="directory%3F-instance_method" class="section method">
|
602
|
+
<div class="details_title">
|
603
|
+
<div class='section methodsignature'>
|
604
|
+
<tt class='def'>
|
605
|
+
<span class='visibility'>public</span>
|
606
|
+
<span class='return_types'></span>
|
607
|
+
<span class='name'>directory?</span><span class='args'></span>
|
608
|
+
<span class='block'></span>
|
609
|
+
</tt>
|
610
|
+
</div>
|
611
|
+
|
612
|
+
</div><div class="section docstring">
|
613
|
+
<p>
|
614
|
+
Tests if this node is a directory.
|
615
|
+
</p>
|
616
|
+
|
617
|
+
</div><div class="section source">
|
618
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
619
|
+
<div class="source_code">
|
620
|
+
<table>
|
621
|
+
<tr>
|
622
|
+
<td>
|
623
|
+
<pre class="lines">
|
624
|
+
|
625
|
+
|
626
|
+
51
|
627
|
+
52
|
628
|
+
53</pre>
|
629
|
+
</td>
|
630
|
+
<td>
|
631
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 51</span>
|
632
|
+
|
633
|
+
<span class='def def kw'>def</span> <span class='directory? fid id'>directory?</span>
|
634
|
+
<span class='exist? fid id'>exist?</span> <span class='and and kw'>and</span> <span class='stat identifier id'>stat</span><span class='dot token'>.</span><span class='directory? fid id'>directory?</span>
|
635
|
+
<span class='end end kw'>end</span>
|
636
|
+
</pre>
|
637
|
+
</td>
|
638
|
+
</tr>
|
639
|
+
</table>
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
</div>
|
643
|
+
</div>
|
644
|
+
|
645
|
+
<div class="method">
|
646
|
+
<div class="method_header">
|
647
|
+
<h3>each</h3>
|
648
|
+
</div><div id="each-instance_method" class="section method">
|
649
|
+
<div class="details_title">
|
650
|
+
<div class='section methodsignature'>
|
651
|
+
<tt class='def'>
|
652
|
+
<span class='visibility'>public</span>
|
653
|
+
<span class='return_types'></span>
|
654
|
+
<span class='name'>each</span><span class='args'>(&aBlock)</span>
|
655
|
+
<span class='block'></span>
|
656
|
+
</tt>
|
657
|
+
</div>
|
658
|
+
|
659
|
+
</div><div class="section docstring">
|
660
|
+
<p>
|
661
|
+
Iterates through each child of this directory.
|
662
|
+
</p>
|
663
|
+
|
664
|
+
</div><div class="section source">
|
665
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
666
|
+
<div class="source_code">
|
667
|
+
<table>
|
668
|
+
<tr>
|
669
|
+
<td>
|
670
|
+
<pre class="lines">
|
671
|
+
|
672
|
+
|
673
|
+
114
|
674
|
+
115
|
675
|
+
116</pre>
|
676
|
+
</td>
|
677
|
+
<td>
|
678
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 114</span>
|
679
|
+
|
680
|
+
<span class='def def kw'>def</span> <span class='each identifier id'>each</span> <span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span>
|
681
|
+
<span class='children identifier id'>children</span><span class='dot token'>.</span><span class='each identifier id'>each</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span><span class='rparen token'>)</span>
|
682
|
+
<span class='end end kw'>end</span>
|
683
|
+
</pre>
|
684
|
+
</td>
|
685
|
+
</tr>
|
686
|
+
</table>
|
687
|
+
</div>
|
688
|
+
</div>
|
689
|
+
</div>
|
690
|
+
</div>
|
691
|
+
|
692
|
+
<div class="method">
|
693
|
+
<div class="method_header">
|
694
|
+
<h3>each_line</h3>
|
695
|
+
</div><div id="each_line-instance_method" class="section method">
|
696
|
+
<div class="details_title">
|
697
|
+
<div class='section methodsignature'>
|
698
|
+
<tt class='def'>
|
699
|
+
<span class='visibility'>public</span>
|
700
|
+
<span class='return_types'></span>
|
701
|
+
<span class='name'>each_line</span><span class='args'>(&aBlock)</span>
|
702
|
+
<span class='block'></span>
|
703
|
+
</tt>
|
704
|
+
</div>
|
705
|
+
|
706
|
+
</div><div class="section docstring">
|
707
|
+
<p>
|
708
|
+
Invokes the given block for every line in the content of this node.
|
709
|
+
</p>
|
710
|
+
|
711
|
+
</div><div class="section source">
|
712
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
713
|
+
<div class="source_code">
|
714
|
+
<table>
|
715
|
+
<tr>
|
716
|
+
<td>
|
717
|
+
<pre class="lines">
|
718
|
+
|
719
|
+
|
720
|
+
73
|
721
|
+
74
|
722
|
+
75
|
723
|
+
76
|
724
|
+
77
|
725
|
+
78
|
726
|
+
79</pre>
|
727
|
+
</td>
|
728
|
+
<td>
|
729
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 73</span>
|
730
|
+
|
731
|
+
<span class='def def kw'>def</span> <span class='each_line identifier id'>each_line</span> <span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span>
|
732
|
+
<span class='open identifier id'>open</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='file identifier id'>file</span><span class='bitor op'>|</span>
|
733
|
+
<span class='until until kw'>until</span> <span class='lparen token'>(</span><span class='chunk identifier id'>chunk</span> <span class='assign token'>=</span> <span class='file identifier id'>file</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='true true kw'>true</span><span class='rparen token'>)</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span>
|
734
|
+
<span class='chunk identifier id'>chunk</span><span class='dot token'>.</span><span class='each_line identifier id'>each_line</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span><span class='rparen token'>)</span>
|
735
|
+
<span class='end end kw'>end</span>
|
736
|
+
<span class='end end kw'>end</span>
|
737
|
+
<span class='end end kw'>end</span>
|
738
|
+
</pre>
|
739
|
+
</td>
|
740
|
+
</tr>
|
741
|
+
</table>
|
742
|
+
</div>
|
743
|
+
</div>
|
744
|
+
</div>
|
745
|
+
</div>
|
746
|
+
|
747
|
+
<div class="method">
|
748
|
+
<div class="method_header">
|
749
|
+
<h3>entries</h3>
|
750
|
+
</div><div id="entries-instance_method" class="section method">
|
751
|
+
<div class="details_title">
|
752
|
+
<div class='section methodsignature'>
|
753
|
+
<tt class='def'>
|
754
|
+
<span class='visibility'>public</span>
|
755
|
+
<span class='return_types'></span>
|
756
|
+
<span class='name'>entries</span><span class='args'></span>
|
757
|
+
<span class='block'></span>
|
758
|
+
</tt>
|
759
|
+
</div>
|
760
|
+
|
761
|
+
</div><div class="section docstring">
|
762
|
+
<p>
|
763
|
+
Returns the names of all files in this directory.
|
764
|
+
</p>
|
765
|
+
|
766
|
+
</div><div class="section source">
|
767
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
768
|
+
<div class="source_code">
|
769
|
+
<table>
|
770
|
+
<tr>
|
771
|
+
<td>
|
772
|
+
<pre class="lines">
|
773
|
+
|
774
|
+
|
775
|
+
56
|
776
|
+
57
|
777
|
+
58</pre>
|
778
|
+
</td>
|
779
|
+
<td>
|
780
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 56</span>
|
781
|
+
|
782
|
+
<span class='def def kw'>def</span> <span class='entries identifier id'>entries</span>
|
783
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='entries identifier id'>entries</span> <span class='@path ivar id'>@path</span> <span class='rescue rescue kw'>rescue</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
|
784
|
+
<span class='end end kw'>end</span>
|
785
|
+
</pre>
|
786
|
+
</td>
|
787
|
+
</tr>
|
788
|
+
</table>
|
789
|
+
</div>
|
790
|
+
</div>
|
791
|
+
</div>
|
792
|
+
</div>
|
793
|
+
|
794
|
+
<div class="method">
|
795
|
+
<div class="method_header">
|
796
|
+
<h3>exist?</h3>
|
797
|
+
</div><div id="exist%3F-instance_method" class="section method">
|
798
|
+
<div class="details_title">
|
799
|
+
<div class='section methodsignature'>
|
800
|
+
<tt class='def'>
|
801
|
+
<span class='visibility'>public</span>
|
802
|
+
<span class='return_types'></span>
|
803
|
+
<span class='name'>exist?</span><span class='args'></span>
|
804
|
+
<span class='block'></span>
|
805
|
+
</tt>
|
806
|
+
</div>
|
807
|
+
|
808
|
+
</div><div class="section docstring">
|
809
|
+
<p>
|
810
|
+
Tests if this node exists on the IXP server.
|
811
|
+
</p>
|
812
|
+
|
813
|
+
</div><div class="section source">
|
814
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
815
|
+
<div class="source_code">
|
816
|
+
<table>
|
817
|
+
<tr>
|
818
|
+
<td>
|
819
|
+
<pre class="lines">
|
820
|
+
|
821
|
+
|
822
|
+
42
|
823
|
+
43
|
824
|
+
44
|
825
|
+
45
|
826
|
+
46
|
827
|
+
47
|
828
|
+
48</pre>
|
829
|
+
</td>
|
830
|
+
<td>
|
831
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 42</span>
|
832
|
+
|
833
|
+
<span class='def def kw'>def</span> <span class='exist? fid id'>exist?</span>
|
834
|
+
<span class='begin begin kw'>begin</span>
|
835
|
+
<span class='true true kw'>true</span> <span class='if if_mod kw'>if</span> <span class='stat identifier id'>stat</span>
|
836
|
+
<span class='rescue rescue kw'>rescue</span> <span class='IXP constant id'>IXP</span><span class='colon2 op'>::</span><span class='Error constant id'>Error</span>
|
837
|
+
<span class='false false kw'>false</span>
|
838
|
+
<span class='end end kw'>end</span>
|
839
|
+
<span class='end end kw'>end</span>
|
840
|
+
</pre>
|
841
|
+
</td>
|
842
|
+
</tr>
|
843
|
+
</table>
|
844
|
+
</div>
|
845
|
+
</div>
|
846
|
+
</div>
|
847
|
+
</div>
|
848
|
+
|
849
|
+
<div class="method">
|
850
|
+
<div class="method_header">
|
851
|
+
<h3>open</h3>
|
852
|
+
</div><div id="open-instance_method" class="section method">
|
853
|
+
<div class="details_title">
|
854
|
+
<div class='section methodsignature'>
|
855
|
+
<tt class='def'>
|
856
|
+
<span class='visibility'>public</span>
|
857
|
+
<span class='return_types'></span>
|
858
|
+
<span class='name'>open</span><span class='args'>(aMode = 'r', &aBlock)</span>
|
859
|
+
<span class='block'></span>
|
860
|
+
</tt>
|
861
|
+
</div>
|
862
|
+
|
863
|
+
</div><div class="section docstring">
|
864
|
+
<p>
|
865
|
+
Opens this node for I/O access. See Rumai::IXP::Client#open for details.
|
866
|
+
</p>
|
867
|
+
|
868
|
+
</div><div class="section source">
|
869
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
870
|
+
<div class="source_code">
|
871
|
+
<table>
|
872
|
+
<tr>
|
873
|
+
<td>
|
874
|
+
<pre class="lines">
|
875
|
+
|
876
|
+
|
877
|
+
62
|
878
|
+
63
|
879
|
+
64</pre>
|
880
|
+
</td>
|
881
|
+
<td>
|
882
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 62</span>
|
883
|
+
|
884
|
+
<span class='def def kw'>def</span> <span class='open identifier id'>open</span> <span class='aMode identifier id'>aMode</span> <span class='assign token'>=</span> <span class='string val'>'r'</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span>
|
885
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='open identifier id'>open</span> <span class='@path ivar id'>@path</span><span class='comma token'>,</span> <span class='aMode identifier id'>aMode</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='aBlock identifier id'>aBlock</span>
|
886
|
+
<span class='end end kw'>end</span>
|
887
|
+
</pre>
|
888
|
+
</td>
|
889
|
+
</tr>
|
890
|
+
</table>
|
891
|
+
</div>
|
892
|
+
</div>
|
893
|
+
</div>
|
894
|
+
</div>
|
895
|
+
|
896
|
+
<div class="method">
|
897
|
+
<div class="method_header">
|
898
|
+
<h3>parent</h3>
|
899
|
+
</div><div id="parent-instance_method" class="section method">
|
900
|
+
<div class="details_title">
|
901
|
+
<div class='section methodsignature'>
|
902
|
+
<tt class='def'>
|
903
|
+
<span class='visibility'>public</span>
|
904
|
+
<span class='return_types'></span>
|
905
|
+
<span class='name'>parent</span><span class='args'></span>
|
906
|
+
<span class='block'></span>
|
907
|
+
</tt>
|
908
|
+
</div>
|
909
|
+
|
910
|
+
</div><div class="section docstring">
|
911
|
+
<p>
|
912
|
+
Returns the parent node of this node.
|
913
|
+
</p>
|
914
|
+
|
915
|
+
</div><div class="section source">
|
916
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
917
|
+
<div class="source_code">
|
918
|
+
<table>
|
919
|
+
<tr>
|
920
|
+
<td>
|
921
|
+
<pre class="lines">
|
922
|
+
|
923
|
+
|
924
|
+
103
|
925
|
+
104
|
926
|
+
105</pre>
|
927
|
+
</td>
|
928
|
+
<td>
|
929
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 103</span>
|
930
|
+
|
931
|
+
<span class='def def kw'>def</span> <span class='parent identifier id'>parent</span>
|
932
|
+
<span class='@@cache ivar id'>@@cache</span><span class='lbrack token'>[</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='dirname identifier id'>dirname</span><span class='lparen token'>(</span><span class='@path ivar id'>@path</span><span class='rparen token'>)</span> <span class='rbrack token'>]</span>
|
933
|
+
<span class='end end kw'>end</span>
|
934
|
+
</pre>
|
935
|
+
</td>
|
936
|
+
</tr>
|
937
|
+
</table>
|
938
|
+
</div>
|
939
|
+
</div>
|
940
|
+
</div>
|
941
|
+
</div>
|
942
|
+
|
943
|
+
<div class="method">
|
944
|
+
<div class="method_header">
|
945
|
+
<h3>read</h3>
|
946
|
+
</div><div id="read-instance_method" class="section method">
|
947
|
+
<div class="details_title">
|
948
|
+
<div class='section methodsignature'>
|
949
|
+
<tt class='def'>
|
950
|
+
<span class='visibility'>public</span>
|
951
|
+
<span class='return_types'></span>
|
952
|
+
<span class='name'>read</span><span class='args'>(*aArgs)</span>
|
953
|
+
<span class='block'></span>
|
954
|
+
</tt>
|
955
|
+
</div>
|
956
|
+
|
957
|
+
</div><div class="section docstring">
|
958
|
+
<p>
|
959
|
+
Returns the entire content of this node. See Rumai::IXP::Client#read for
|
960
|
+
details.
|
961
|
+
</p>
|
962
|
+
|
963
|
+
</div><div class="section source">
|
964
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
965
|
+
<div class="source_code">
|
966
|
+
<table>
|
967
|
+
<tr>
|
968
|
+
<td>
|
969
|
+
<pre class="lines">
|
970
|
+
|
971
|
+
|
972
|
+
68
|
973
|
+
69
|
974
|
+
70</pre>
|
975
|
+
</td>
|
976
|
+
<td>
|
977
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 68</span>
|
978
|
+
|
979
|
+
<span class='def def kw'>def</span> <span class='read identifier id'>read</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
|
980
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='read identifier id'>read</span> <span class='@path ivar id'>@path</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='aArgs identifier id'>aArgs</span>
|
981
|
+
<span class='end end kw'>end</span>
|
982
|
+
</pre>
|
983
|
+
</td>
|
984
|
+
</tr>
|
985
|
+
</table>
|
986
|
+
</div>
|
987
|
+
</div>
|
988
|
+
</div>
|
989
|
+
</div>
|
990
|
+
|
991
|
+
<div class="method">
|
992
|
+
<div class="method_header">
|
993
|
+
<h3>remove</h3>
|
994
|
+
</div><div id="remove-instance_method" class="section method">
|
995
|
+
<div class="details_title">
|
996
|
+
<div class='section methodsignature'>
|
997
|
+
<tt class='def'>
|
998
|
+
<span class='visibility'>public</span>
|
999
|
+
<span class='return_types'></span>
|
1000
|
+
<span class='name'>remove</span><span class='args'></span>
|
1001
|
+
<span class='block'></span>
|
1002
|
+
</tt>
|
1003
|
+
</div>
|
1004
|
+
|
1005
|
+
</div><div class="section docstring">
|
1006
|
+
<p>
|
1007
|
+
Deletes the file corresponding to this node on the IXP server.
|
1008
|
+
</p>
|
1009
|
+
|
1010
|
+
</div><div class="section source">
|
1011
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
1012
|
+
<div class="source_code">
|
1013
|
+
<table>
|
1014
|
+
<tr>
|
1015
|
+
<td>
|
1016
|
+
<pre class="lines">
|
1017
|
+
|
1018
|
+
|
1019
|
+
93
|
1020
|
+
94
|
1021
|
+
95</pre>
|
1022
|
+
</td>
|
1023
|
+
<td>
|
1024
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 93</span>
|
1025
|
+
|
1026
|
+
<span class='def def kw'>def</span> <span class='remove identifier id'>remove</span>
|
1027
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='remove identifier id'>remove</span> <span class='@path ivar id'>@path</span>
|
1028
|
+
<span class='end end kw'>end</span>
|
1029
|
+
</pre>
|
1030
|
+
</td>
|
1031
|
+
</tr>
|
1032
|
+
</table>
|
1033
|
+
</div>
|
1034
|
+
</div>
|
1035
|
+
</div>
|
1036
|
+
</div>
|
1037
|
+
|
1038
|
+
<div class="method">
|
1039
|
+
<div class="method_header">
|
1040
|
+
<h3>stat</h3>
|
1041
|
+
</div><div id="stat-instance_method" class="section method">
|
1042
|
+
<div class="details_title">
|
1043
|
+
<div class='section methodsignature'>
|
1044
|
+
<tt class='def'>
|
1045
|
+
<span class='visibility'>public</span>
|
1046
|
+
<span class='return_types'></span>
|
1047
|
+
<span class='name'>stat</span><span class='args'></span>
|
1048
|
+
<span class='block'></span>
|
1049
|
+
</tt>
|
1050
|
+
</div>
|
1051
|
+
|
1052
|
+
</div><div class="section docstring">
|
1053
|
+
<p>
|
1054
|
+
Returns file statistics about this node. See Rumai::IXP::Client#stat for
|
1055
|
+
details.
|
1056
|
+
</p>
|
1057
|
+
|
1058
|
+
</div><div class="section source">
|
1059
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
1060
|
+
<div class="source_code">
|
1061
|
+
<table>
|
1062
|
+
<tr>
|
1063
|
+
<td>
|
1064
|
+
<pre class="lines">
|
1065
|
+
|
1066
|
+
|
1067
|
+
37
|
1068
|
+
38
|
1069
|
+
39</pre>
|
1070
|
+
</td>
|
1071
|
+
<td>
|
1072
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 37</span>
|
1073
|
+
|
1074
|
+
<span class='def def kw'>def</span> <span class='stat identifier id'>stat</span>
|
1075
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='stat identifier id'>stat</span> <span class='@path ivar id'>@path</span>
|
1076
|
+
<span class='end end kw'>end</span>
|
1077
|
+
</pre>
|
1078
|
+
</td>
|
1079
|
+
</tr>
|
1080
|
+
</table>
|
1081
|
+
</div>
|
1082
|
+
</div>
|
1083
|
+
</div>
|
1084
|
+
</div>
|
1085
|
+
|
1086
|
+
<div class="method">
|
1087
|
+
<div class="method_header">
|
1088
|
+
<h3>write</h3>
|
1089
|
+
</div><div id="write-instance_method" class="section method">
|
1090
|
+
<div class="details_title">
|
1091
|
+
<div class='section methodsignature'>
|
1092
|
+
<tt class='def'>
|
1093
|
+
<span class='visibility'>public</span>
|
1094
|
+
<span class='return_types'></span>
|
1095
|
+
<span class='name'>write</span><span class='args'>(aContent)</span>
|
1096
|
+
<span class='block'></span>
|
1097
|
+
</tt>
|
1098
|
+
</div>
|
1099
|
+
|
1100
|
+
</div><div class="section docstring">
|
1101
|
+
<p>
|
1102
|
+
Writes the given content to this node.
|
1103
|
+
</p>
|
1104
|
+
|
1105
|
+
</div><div class="section source">
|
1106
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
1107
|
+
<div class="source_code">
|
1108
|
+
<table>
|
1109
|
+
<tr>
|
1110
|
+
<td>
|
1111
|
+
<pre class="lines">
|
1112
|
+
|
1113
|
+
|
1114
|
+
82
|
1115
|
+
83
|
1116
|
+
84</pre>
|
1117
|
+
</td>
|
1118
|
+
<td>
|
1119
|
+
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 82</span>
|
1120
|
+
|
1121
|
+
<span class='def def kw'>def</span> <span class='write identifier id'>write</span> <span class='aContent identifier id'>aContent</span>
|
1122
|
+
<span class='IXP_AGENT constant id'>IXP_AGENT</span><span class='dot token'>.</span><span class='write identifier id'>write</span> <span class='@path ivar id'>@path</span><span class='comma token'>,</span> <span class='aContent identifier id'>aContent</span>
|
1123
|
+
<span class='end end kw'>end</span>
|
1124
|
+
</pre>
|
1125
|
+
</td>
|
1126
|
+
</tr>
|
1127
|
+
</table>
|
1128
|
+
</div>
|
1129
|
+
</div>
|
1130
|
+
</div>
|
1131
|
+
</div>
|
1132
|
+
|
1133
|
+
</div>
|
1134
|
+
</div>
|
1135
|
+
|
1136
|
+
</div>
|
1137
|
+
</div>
|
1138
|
+
</body>
|
1139
|
+
</html>
|