ruby-inotify 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Inotify/Event.html +206 -0
- data/doc/classes/Inotify/Event.src/M000005.html +18 -0
- data/doc/classes/Inotify/Event.src/M000006.html +18 -0
- data/doc/classes/Inotify/Event.src/M000007.html +18 -0
- data/doc/classes/Inotify/Event.src/M000008.html +18 -0
- data/doc/classes/Inotify/Event.src/M000009.html +18 -0
- data/doc/classes/Inotify/Event.src/M000010.html +18 -0
- data/doc/classes/Inotify/Event.src/M000011.html +18 -0
- data/doc/classes/Inotify/Event.src/M000012.html +23 -0
- data/doc/classes/Inotify/Event.src/M000013.html +23 -0
- data/doc/classes/Inotify/Event.src/M000014.html +18 -0
- data/doc/classes/Inotify/Event.src/M000015.html +23 -0
- data/doc/classes/Inotify/EventStruct.html +117 -0
- data/doc/classes/Inotify.html +476 -0
- data/doc/classes/Inotify.src/M000001.html +18 -0
- data/doc/classes/Inotify.src/M000002.html +18 -0
- data/doc/classes/Inotify.src/M000003.html +18 -0
- data/doc/classes/Inotify.src/M000004.html +22 -0
- data/doc/classes/Inotify.src/M000005.html +21 -0
- data/doc/classes/Inotify.src/M000006.html +21 -0
- data/doc/classes/Inotify.src/M000007.html +19 -0
- data/doc/classes/Inotify.src/M000008.html +18 -0
- data/doc/classes/Inotify.src/M000009.html +18 -0
- data/doc/classes/Inotify.src/M000010.html +18 -0
- data/doc/classes/Inotify.src/M000011.html +21 -0
- data/doc/classes/Inotify.src/M000012.html +21 -0
- data/doc/classes/Test1.html +212 -0
- data/doc/classes/Test1.src/M000001.html +18 -0
- data/doc/classes/Test1.src/M000002.html +18 -0
- data/doc/classes/Test1.src/M000003.html +18 -0
- data/doc/classes/Test1.src/M000004.html +20 -0
- data/doc/classes/Test1.src/M000005.html +30 -0
- data/doc/classes/Test1.src/M000006.html +18 -0
- data/doc/created.rid +1 -0
- data/doc/files/examples/watcher_rb.html +109 -0
- data/doc/files/lib/inotify/inotify_native_rb.html +109 -0
- data/doc/files/lib/inotify/version_rb.html +108 -0
- data/doc/files/lib/inotify_rb.html +108 -0
- data/doc/files/tests/test_1_rb.html +109 -0
- data/doc/fr_class_index.html +28 -0
- data/doc/fr_file_index.html +27 -0
- data/doc/fr_method_index.html +34 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/inotify/inotify_native.rb +103 -23
- data/ruby-inotify.gemspec +1 -1
- metadata +47 -4
- data/lib/inotify/version.rb +0 -3
@@ -0,0 +1,206 @@
|
|
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
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Inotify::Event</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Inotify::Event</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/inotify/inotify_native_rb.html">
|
59
|
+
lib/inotify/inotify_native.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
The <a href="Event.html">Inotify::Event</a> class is used by <a
|
84
|
+
href="../Inotify.html">Inotify</a> when calling <a
|
85
|
+
href="../Inotify.html">Inotify</a> each_event method
|
86
|
+
</p>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="method-list">
|
94
|
+
<h3 class="section-bar">Methods</h3>
|
95
|
+
|
96
|
+
<div class="name-list">
|
97
|
+
<a href="#M000007">cookie</a>
|
98
|
+
<a href="#M000006">mask</a>
|
99
|
+
<a href="#M000008">name</a>
|
100
|
+
<a href="#M000005">wd</a>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
<!-- if includes -->
|
108
|
+
|
109
|
+
<div id="section">
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<!-- if method_list -->
|
119
|
+
<div id="methods">
|
120
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
121
|
+
|
122
|
+
<div id="method-M000007" class="method-detail">
|
123
|
+
<a name="M000007"></a>
|
124
|
+
|
125
|
+
<div class="method-heading">
|
126
|
+
<a href="Event.src/M000007.html" target="Code" class="method-signature"
|
127
|
+
onclick="popupCode('Event.src/M000007.html');return false;">
|
128
|
+
<span class="method-name">cookie</span><span class="method-args">()</span>
|
129
|
+
</a>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<div class="method-description">
|
133
|
+
<p>
|
134
|
+
Returns the <a href="Event.html#M000007">cookie</a> associated with the
|
135
|
+
event. If multiple events are triggered from the same action (such as
|
136
|
+
renaming a file or directory), this value will be the same.
|
137
|
+
</p>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div id="method-M000006" class="method-detail">
|
142
|
+
<a name="M000006"></a>
|
143
|
+
|
144
|
+
<div class="method-heading">
|
145
|
+
<a href="Event.src/M000006.html" target="Code" class="method-signature"
|
146
|
+
onclick="popupCode('Event.src/M000006.html');return false;">
|
147
|
+
<span class="method-name">mask</span><span class="method-args">()</span>
|
148
|
+
</a>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div class="method-description">
|
152
|
+
<p>
|
153
|
+
Returns the <a href="Event.html#M000006">mask</a> describing the event
|
154
|
+
</p>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
<div id="method-M000008" class="method-detail">
|
159
|
+
<a name="M000008"></a>
|
160
|
+
|
161
|
+
<div class="method-heading">
|
162
|
+
<a href="Event.src/M000008.html" target="Code" class="method-signature"
|
163
|
+
onclick="popupCode('Event.src/M000008.html');return false;">
|
164
|
+
<span class="method-name">name</span><span class="method-args">()</span>
|
165
|
+
</a>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<div class="method-description">
|
169
|
+
<p>
|
170
|
+
Returns the file <a href="Event.html#M000008">name</a> associated with the
|
171
|
+
event, if applicable
|
172
|
+
</p>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
<div id="method-M000005" class="method-detail">
|
177
|
+
<a name="M000005"></a>
|
178
|
+
|
179
|
+
<div class="method-heading">
|
180
|
+
<a href="Event.src/M000005.html" target="Code" class="method-signature"
|
181
|
+
onclick="popupCode('Event.src/M000005.html');return false;">
|
182
|
+
<span class="method-name">wd</span><span class="method-args">()</span>
|
183
|
+
</a>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
<div class="method-description">
|
187
|
+
<p>
|
188
|
+
Returns the watch descriptor (<a href="Event.html#M000005">wd</a>)
|
189
|
+
associated with the event
|
190
|
+
</p>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
|
201
|
+
<div id="validator-badges">
|
202
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
</body>
|
206
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>wd (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 149</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">wd</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:wd</span>]
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>mask (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 154</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mask</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:mask</span>]
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>cookie (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 160</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cookie</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:cookie</span>]
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>name (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 169</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>] <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@buf</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">16</span>, <span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>]) <span class="ruby-operator">:</span> <span class="ruby-value str">''</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>name (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 160</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>] <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@buf</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">16</span>, <span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>]) <span class="ruby-operator">:</span> <span class="ruby-value str">''</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>name (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 159</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>] <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@buf</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">16</span>, <span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>]) <span class="ruby-operator">:</span> <span class="ruby-value str">''</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>name (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 159</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>] <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@buf</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">16</span>, <span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>]) <span class="ruby-operator">:</span> <span class="ruby-value str">''</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>inspect (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 163</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
15
|
+
<span class="ruby-value str">"<%s name=%s mask=%s wd=%s>"</span> <span class="ruby-operator">%</span> [
|
16
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>,
|
17
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>,
|
18
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mask</span>,
|
19
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wd</span>
|
20
|
+
]
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>inspect (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 164</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
15
|
+
<span class="ruby-value str">"<%s name=%s mask=%s wd=%s>"</span> <span class="ruby-operator">%</span> [
|
16
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>,
|
17
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>,
|
18
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mask</span>,
|
19
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wd</span>
|
20
|
+
]
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>name (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 103</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
+
<span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>] <span class="ruby-operator">></span> <span class="ruby-value">0</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@buf</span>.<span class="ruby-identifier">get_string</span>(<span class="ruby-value">16</span>, <span class="ruby-ivar">@struct</span>[<span class="ruby-identifier">:len</span>]) <span class="ruby-operator">:</span> <span class="ruby-value str">''</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
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
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>inspect (Inotify::Event)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File lib/inotify/inotify_native.rb, line 107</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
|
15
|
+
<span class="ruby-value str">"<%s name=%s mask=%s wd=%s>"</span> <span class="ruby-operator">%</span> [
|
16
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>,
|
17
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>,
|
18
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">mask</span>,
|
19
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wd</span>
|
20
|
+
]
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,117 @@
|
|
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
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Inotify::EventStruct</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Inotify::EventStruct</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/inotify/inotify_native_rb.html">
|
59
|
+
lib/inotify/inotify_native.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
FFI::Struct
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
:nodoc:
|
84
|
+
</p>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
</div>
|
93
|
+
|
94
|
+
|
95
|
+
<!-- if includes -->
|
96
|
+
|
97
|
+
<div id="section">
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
<!-- if method_list -->
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<div id="validator-badges">
|
113
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|