Sha256: ab8e6db50a60bee644dc5b4cfbdaea68c91abef4748a24d1d077948a1a3f11f8
Contents?: true
Size: 1.68 KB
Versions: 1
Compression:
Stored size: 1.68 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>has_output_params? (OdbcConnectionWrapper)</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/marjoree/odbc_connection_wrapper.rb, line 54</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_output_params?</span>(<span class="ruby-identifier">proc_name</span>) <span class="ruby-keyword kw">begin</span> <span class="ruby-identifier">dbCall</span> = <span class="ruby-ivar">@connection</span>.<span class="ruby-identifier">procedure_columns</span> <span class="ruby-identifier">proc_name</span> <span class="ruby-identifier">result_set</span> = <span class="ruby-constant">ResultSet</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dbCall</span>) <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result_set</span>.<span class="ruby-identifier">contains?</span>({ <span class="ruby-identifier">:COLUMN_TYPE</span> =<span class="ruby-operator">></span> <span class="ruby-value">4</span> }) <span class="ruby-keyword kw">ensure</span> <span class="ruby-identifier">dbCall</span>.<span class="ruby-identifier">drop</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marjoree-0.0.9 | ./html/classes/OdbcConnectionWrapper.src/M000029.html |