Sha256: f34e6c762ee846f3750f1094949c5bc0f7c967aa593903e371686171115459f8

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>test3 (Test1)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File tests/test_1.rb, line 14</span>
        <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test3</span>
                <span class="ruby-identifier">wd</span> = <span class="ruby-ivar">@inotify</span>.<span class="ruby-identifier">add_watch</span>(<span class="ruby-value str">&quot;/tmp&quot;</span>, <span class="ruby-constant">Inotify</span><span class="ruby-operator">::</span><span class="ruby-constant">CREATE</span>)
                <span class="ruby-identifier">assert_equal</span>(<span class="ruby-constant">Fixnum</span>, <span class="ruby-identifier">wd</span>.<span class="ruby-identifier">class</span>)
                <span class="ruby-identifier">assert</span>(<span class="ruby-ivar">@inotify</span>.<span class="ruby-identifier">rm_watch</span>(<span class="ruby-identifier">wd</span>))
        <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-inotify-1.0.2 doc/classes/Test1.src/M000004.html
ruby-inotify-1.0.1 doc/classes/Test1.src/M000004.html