Sha256: 8b6d0f841f09eb0eae4118ae1c10d6a696a4ac61105b2bc1da5afa86d79f0197
Contents?: true
Size: 1.94 KB
Versions: 1
Compression:
Stored size: 1.94 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 89</span> 89: <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> 90: <span class="ruby-identifier">ario</span> = <span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) 91: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span> 92: <span class="ruby-identifier">old_closeoncopy</span> = <span class="ruby-identifier">ario</span>.<span class="ruby-identifier">closeoncopy?</span> 93: <span class="ruby-keyword kw">begin</span> 94: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">ario</span>.<span class="ruby-identifier">nocloseoncopy</span> 95: <span class="ruby-keyword kw">ensure</span> 96: <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>) 97: <span class="ruby-keyword kw">end</span> 98: <span class="ruby-keyword kw">end</span> 99: <span class="ruby-identifier">ario</span> 100: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rio-0.3.6 | doc/rdoc/classes/RIO/Rio.src/M000020.html |