Sha256: 8777ae0fced899b339666825d54be11d84f349de4983d0bac991a49bf1ad5a01
Contents?: true
Size: 1.93 KB
Versions: 2
Compression:
Stored size: 1.93 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>rio (RIO::Rio)</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 lib/rio.rb, line 87</span> 87: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rio</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment cmt"># :yields: self</span> 88: <span class="ruby-identifier">ario</span> = <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) 89: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span> 90: <span class="ruby-identifier">old_closeoncopy</span> = <span class="ruby-identifier">ario</span>.<span class="ruby-identifier">closeoncopy?</span> 91: <span class="ruby-keyword kw">begin</span> 92: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">ario</span>.<span class="ruby-identifier">nocloseoncopy</span> 93: <span class="ruby-keyword kw">ensure</span> 94: <span class="ruby-identifier">ario</span>.<span class="ruby-identifier">reset</span>.<span class="ruby-identifier">closeoncopy</span>(<span class="ruby-identifier">old_closeoncopy</span>) 95: <span class="ruby-keyword kw">end</span> 96: <span class="ruby-keyword kw">end</span> 97: <span class="ruby-identifier">ario</span> 98: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rio-0.3.1 | doc/rdoc/classes/RIO/Rio.src/M000006.html |
rio-0.3.2 | doc/rdoc/classes/RIO/Rio.src/M000006.html |