folio 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +675 -0
- data/MANIFEST +234 -0
- data/METADATA +8 -0
- data/NEWS +9 -0
- data/README +69 -0
- data/demo/sample1/foo/foo.txt +1 -0
- data/demo/sample1/tryme.rb +14 -0
- data/doc/rdoc/classes/Folio/BlockDevice.html +117 -0
- data/doc/rdoc/classes/Folio/CharacterDevice.html +117 -0
- data/doc/rdoc/classes/Folio/Device.html +119 -0
- data/doc/rdoc/classes/Folio/Directory.html +420 -0
- data/doc/rdoc/classes/Folio/Document.html +261 -0
- data/doc/rdoc/classes/Folio/FileNotFound.html +92 -0
- data/doc/rdoc/classes/Folio/FileObject.html +1200 -0
- data/doc/rdoc/classes/Folio/Link.html +238 -0
- data/doc/rdoc/classes/Folio/Pipe.html +131 -0
- data/doc/rdoc/classes/Folio/Prompt.html +796 -0
- data/doc/rdoc/classes/Folio/Socket.html +115 -0
- data/doc/rdoc/classes/Folio.html +148 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/COPYING.html +992 -0
- data/doc/rdoc/files/METADATA.html +101 -0
- data/doc/rdoc/files/NEWS.html +102 -0
- data/doc/rdoc/files/README.html +171 -0
- data/doc/rdoc/files/lib/folio/device_rb.html +96 -0
- data/doc/rdoc/files/lib/folio/directory_rb.html +96 -0
- data/doc/rdoc/files/lib/folio/document_rb.html +96 -0
- data/doc/rdoc/files/lib/folio/errors_rb.html +92 -0
- data/doc/rdoc/files/lib/folio/fileobject_rb.html +92 -0
- data/doc/rdoc/files/lib/folio/link_rb.html +96 -0
- data/doc/rdoc/files/lib/folio/pipe_rb.html +96 -0
- data/doc/rdoc/files/lib/folio/prompt_rb.html +92 -0
- data/doc/rdoc/files/lib/folio/socket_rb.html +96 -0
- data/doc/rdoc/files/lib/folio_rb.html +105 -0
- data/doc/rdoc/fr_class_index.html +58 -0
- data/doc/rdoc/fr_file_index.html +60 -0
- data/doc/rdoc/fr_method_index.html +185 -0
- data/doc/rdoc/index.html +26 -0
- data/doc/rdoc/rdoc-style.css +175 -0
- data/doc/ri/Folio/BlockDevice/blockdev%3f-i.yaml +10 -0
- data/doc/ri/Folio/BlockDevice/cdesc-BlockDevice.yaml +18 -0
- data/doc/ri/Folio/CharacterDevice/cdesc-CharacterDevice.yaml +18 -0
- data/doc/ri/Folio/CharacterDevice/chardev%3f-i.yaml +10 -0
- data/doc/ri/Folio/Device/cdesc-Device.yaml +18 -0
- data/doc/ri/Folio/Device/new-c.yaml +10 -0
- data/doc/ri/Folio/Directory/%2b-i.yaml +12 -0
- data/doc/ri/Folio/Directory/%2f-i.yaml +13 -0
- data/doc/ri/Folio/Directory/cd-i.yaml +12 -0
- data/doc/ri/Folio/Directory/cdesc-Directory.yaml +49 -0
- data/doc/ri/Folio/Directory/chdir-i.yaml +11 -0
- data/doc/ri/Folio/Directory/chmod_r-i.yaml +10 -0
- data/doc/ri/Folio/Directory/chown_r-i.yaml +12 -0
- data/doc/ri/Folio/Directory/chroot-i.yaml +10 -0
- data/doc/ri/Folio/Directory/cp_r-i.yaml +12 -0
- data/doc/ri/Folio/Directory/delete-i.yaml +12 -0
- data/doc/ri/Folio/Directory/directory%3f-i.yaml +10 -0
- data/doc/ri/Folio/Directory/entries-i.yaml +12 -0
- data/doc/ri/Folio/Directory/foreach-i.yaml +10 -0
- data/doc/ri/Folio/Directory/new-c.yaml +10 -0
- data/doc/ri/Folio/Directory/paths-i.yaml +12 -0
- data/doc/ri/Folio/Directory/rm_r-i.yaml +10 -0
- data/doc/ri/Folio/Directory/rm_rf-i.yaml +10 -0
- data/doc/ri/Folio/Directory/rmdir-i.yaml +13 -0
- data/doc/ri/Folio/Directory/unlink-i.yaml +12 -0
- data/doc/ri/Folio/Document/cdesc-Document.yaml +34 -0
- data/doc/ri/Folio/Document/delete-i.yaml +10 -0
- data/doc/ri/Folio/Document/executable%3f-i.yaml +10 -0
- data/doc/ri/Folio/Document/executable_real%3f-i.yaml +10 -0
- data/doc/ri/Folio/Document/file%3f-i.yaml +10 -0
- data/doc/ri/Folio/Document/intialize-i.yaml +10 -0
- data/doc/ri/Folio/Document/open-i.yaml +10 -0
- data/doc/ri/Folio/Document/read-i.yaml +10 -0
- data/doc/ri/Folio/Document/readlines-i.yaml +10 -0
- data/doc/ri/Folio/Document/truncate-i.yaml +10 -0
- data/doc/ri/Folio/Document/unlink-i.yaml +12 -0
- data/doc/ri/Folio/FileNotFound/cdesc-FileNotFound.yaml +15 -0
- data/doc/ri/Folio/FileObject/%3c%3d%3e-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/%3d%3d-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/%5b%5d-c.yaml +12 -0
- data/doc/ri/Folio/FileObject/atime-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/basename-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/blockdev%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/cdesc-FileObject.yaml +154 -0
- data/doc/ri/Folio/FileObject/chardev%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/chmod-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/chown-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/cp-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/ctime-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/delete-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/delete_force-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/directory%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/dirname-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/exist%3f-i.yaml +13 -0
- data/doc/ri/Folio/FileObject/exists%3f-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/extname-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/file%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/fnmatch%3f-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/fnmatch-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/grpowned%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/identical%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/inspect-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/install-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/link-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/link_force-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/ln-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/ln_f-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/ln_s-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/ln_sf-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/mtime-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/mv-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/new-c.yaml +10 -0
- data/doc/ri/Folio/FileObject/owned%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/pipe%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/readable%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/readable_real%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/relative-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/rename-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/restat-i.yaml +13 -0
- data/doc/ri/Folio/FileObject/rm-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/rm_f-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/setgid%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/setuid%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/size%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/size-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/socket%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/split-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/stat%21-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/stat-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/sticky%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/symlink-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/symlink_force-i.yaml +11 -0
- data/doc/ri/Folio/FileObject/to_s-i.yaml +12 -0
- data/doc/ri/Folio/FileObject/touch-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/unlink-i.yaml +15 -0
- data/doc/ri/Folio/FileObject/unlink_force-i.yaml +13 -0
- data/doc/ri/Folio/FileObject/util-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/utime-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/writable%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/writable_real%3f-i.yaml +10 -0
- data/doc/ri/Folio/FileObject/zero%3f-i.yaml +10 -0
- data/doc/ri/Folio/Link/cdesc-Link.yaml +29 -0
- data/doc/ri/Folio/Link/lchmod-i.yaml +10 -0
- data/doc/ri/Folio/Link/lchown-i.yaml +10 -0
- data/doc/ri/Folio/Link/link%3f-i.yaml +10 -0
- data/doc/ri/Folio/Link/lstat-i.yaml +10 -0
- data/doc/ri/Folio/Link/method_missing-i.yaml +11 -0
- data/doc/ri/Folio/Link/new-c.yaml +10 -0
- data/doc/ri/Folio/Link/readlink-i.yaml +10 -0
- data/doc/ri/Folio/Link/symlink%3f-i.yaml +10 -0
- data/doc/ri/Folio/Pipe/cdesc-Pipe.yaml +17 -0
- data/doc/ri/Folio/Pipe/new-c.yaml +10 -0
- data/doc/ri/Folio/Pipe/pipe%3f-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/%2b-i.yaml +13 -0
- data/doc/ri/Folio/Prompt/%2f-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/%5b%5d-c.yaml +10 -0
- data/doc/ri/Folio/Prompt/cd-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/cdesc-Prompt.yaml +89 -0
- data/doc/ri/Folio/Prompt/chmod-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/chmod_r-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/chown-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/chown_r-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/cp-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/cp_r-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/directories-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/entries-i.yaml +13 -0
- data/doc/ri/Folio/Prompt/file-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/files-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/fileutils-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/glob-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/install-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/ln-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/ln_s-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/ln_sf-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/localize-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/ls-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/mkdir-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/mkdir_p-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/mode-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/mv-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/new-c.yaml +11 -0
- data/doc/ri/Folio/Prompt/paths-i.yaml +12 -0
- data/doc/ri/Folio/Prompt/pwd-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/rm-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/rm_r-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/rm_rf-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/rmdir-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/to_s-i.yaml +10 -0
- data/doc/ri/Folio/Prompt/touch-i.yaml +12 -0
- data/doc/ri/Folio/Socket/cdesc-Socket.yaml +16 -0
- data/doc/ri/Folio/Socket/new-c.yaml +10 -0
- data/doc/ri/Folio/cdesc-Folio.yaml +15 -0
- data/doc/ri/created.rid +1 -0
- data/lib/folio/device.rb +29 -0
- data/lib/folio/directory.rb +83 -0
- data/lib/folio/document.rb +66 -0
- data/lib/folio/errors.rb +7 -0
- data/lib/folio/fileobject.rb +242 -0
- data/lib/folio/link.rb +49 -0
- data/lib/folio/pipe.rb +16 -0
- data/lib/folio/prompt.rb +239 -0
- data/lib/folio/socket.rb +14 -0
- data/lib/folio.rb +79 -0
- data/test/fixture/bar.txt +0 -0
- data/test/fixture/foo.txt +0 -0
- data/test/test_folio.rb +28 -0
- data/test/test_helper.rb +7 -0
- metadata +300 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: Folio::Socket</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Folio::Socket</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../../files/lib/folio/socket_rb.html">lib/folio/socket.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
<a href="FileObject.html">
|
67
|
+
FileObject
|
68
|
+
</a>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
</table>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
<div id="content">
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<div class="sectiontitle">Methods</div>
|
84
|
+
<ul>
|
85
|
+
<li><a href="#M000004">new</a></li>
|
86
|
+
</ul>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<div class="sectiontitle">Public Class methods</div>
|
94
|
+
<div class="method">
|
95
|
+
<div class="title">
|
96
|
+
<a name="M000004"></a><b>new</b>(path)
|
97
|
+
</div>
|
98
|
+
<div class="sourcecode">
|
99
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p>
|
100
|
+
<div id="M000004_source" class="dyn-source">
|
101
|
+
<pre>
|
102
|
+
<span class="ruby-comment cmt"># File lib/folio/socket.rb, line 7</span>
|
103
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path</span>)
|
104
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-value str">'Sockets not yet supported.'</span>
|
105
|
+
<span class="ruby-keyword kw">end</span>
|
106
|
+
</pre>
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
</body>
|
115
|
+
</html>
|
@@ -0,0 +1,148 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Module: Folio</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Module</span><br />Folio</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/folio/link_rb.html">lib/folio/link.rb</a>
|
61
|
+
<a href="../files/lib/folio/pipe_rb.html">lib/folio/pipe.rb</a>
|
62
|
+
<a href="../files/lib/folio/directory_rb.html">lib/folio/directory.rb</a>
|
63
|
+
<a href="../files/lib/folio/device_rb.html">lib/folio/device.rb</a>
|
64
|
+
<a href="../files/lib/folio/errors_rb.html">lib/folio/errors.rb</a>
|
65
|
+
<a href="../files/lib/folio/document_rb.html">lib/folio/document.rb</a>
|
66
|
+
<a href="../files/lib/folio/fileobject_rb.html">lib/folio/fileobject.rb</a>
|
67
|
+
<a href="../files/lib/folio/socket_rb.html">lib/folio/socket.rb</a>
|
68
|
+
<a href="../files/lib/folio/prompt_rb.html">lib/folio/prompt.rb</a>
|
69
|
+
<a href="../files/lib/folio_rb.html">lib/folio.rb</a>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
</table>
|
76
|
+
<!-- banner header -->
|
77
|
+
|
78
|
+
<div id="bodyContent">
|
79
|
+
<div id="content">
|
80
|
+
|
81
|
+
<div class="description"><h1><a href="Folio.html">Folio</a></h1>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
<div class="sectiontitle">Methods</div>
|
87
|
+
<ul>
|
88
|
+
<li><a href="#M000002">[]</a></li>
|
89
|
+
<li><a href="#M000001">file</a></li>
|
90
|
+
</ul>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<div class="sectiontitle">Classes and Modules</div>
|
95
|
+
Class <a href="Folio/BlockDevice.html" class="link">Folio::BlockDevice</a><br />
|
96
|
+
Class <a href="Folio/CharacterDevice.html" class="link">Folio::CharacterDevice</a><br />
|
97
|
+
Class <a href="Folio/Device.html" class="link">Folio::Device</a><br />
|
98
|
+
Class <a href="Folio/Directory.html" class="link">Folio::Directory</a><br />
|
99
|
+
Class <a href="Folio/Document.html" class="link">Folio::Document</a><br />
|
100
|
+
Class <a href="Folio/FileNotFound.html" class="link">Folio::FileNotFound</a><br />
|
101
|
+
Class <a href="Folio/FileObject.html" class="link">Folio::FileObject</a><br />
|
102
|
+
Class <a href="Folio/Link.html" class="link">Folio::Link</a><br />
|
103
|
+
Class <a href="Folio/Pipe.html" class="link">Folio::Pipe</a><br />
|
104
|
+
Class <a href="Folio/Prompt.html" class="link">Folio::Prompt</a><br />
|
105
|
+
Class <a href="Folio/Socket.html" class="link">Folio::Socket</a><br />
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<div class="sectiontitle">Public Class methods</div>
|
111
|
+
<div class="method">
|
112
|
+
<div class="title">
|
113
|
+
<a name="M000002"></a><b>[]</b>(*path)
|
114
|
+
</div>
|
115
|
+
<div class="sourcecode">
|
116
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p>
|
117
|
+
<div id="M000002_source" class="dyn-source">
|
118
|
+
<pre>
|
119
|
+
<span class="ruby-comment cmt"># File lib/folio.rb, line 24</span>
|
120
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-operator">[]</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">path</span>)
|
121
|
+
<span class="ruby-constant">Prompt</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">path</span>)
|
122
|
+
<span class="ruby-keyword kw">end</span>
|
123
|
+
</pre>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
<div class="method">
|
128
|
+
<div class="title">
|
129
|
+
<a name="M000001"></a><b>file</b>(*path)
|
130
|
+
</div>
|
131
|
+
<div class="sourcecode">
|
132
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p>
|
133
|
+
<div id="M000001_source" class="dyn-source">
|
134
|
+
<pre>
|
135
|
+
<span class="ruby-comment cmt"># File lib/folio.rb, line 20</span>
|
136
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">file</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">path</span>)
|
137
|
+
<span class="ruby-constant">FileObject</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">path</span>]
|
138
|
+
<span class="ruby-keyword kw">end</span>
|
139
|
+
</pre>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</body>
|
148
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
Fri, 22 Aug 2008 16:42:36 -0400
|