doc/api/ruby/classes/VPI/Handle.src/M000466.html in ruby-vpi-20.0.0 vs doc/api/ruby/classes/VPI/Handle.src/M000466.html in ruby-vpi-21.0.0
- old
+ new
@@ -3,16 +3,19 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>force? (VPI::Handle)</title>
+ <title>get_value_wrapper (VPI::Handle)</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/ruby-vpi/core/handle.rb, line 213</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">force?</span>
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">to_a</span>(<span class="ruby-constant">VpiDriver</span>).<span class="ruby-identifier">any?</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span> <span class="ruby-identifier">vpi_get</span>(<span class="ruby-constant">VpiType</span>, <span class="ruby-identifier">d</span>) <span class="ruby-operator">==</span> <span class="ruby-constant">VpiForce</span>}
+ <pre><span class="ruby-comment cmt"># File lib/ruby-vpi/core/handle.rb, line 135</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value_wrapper</span> <span class="ruby-identifier">aFormat</span>
+ <span class="ruby-identifier">fmt</span> = <span class="ruby-identifier">resolve_prop_type</span>(<span class="ruby-identifier">aFormat</span>)
+ <span class="ruby-identifier">val</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:format</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fmt</span>)
+ <span class="ruby-identifier">vpi_get_value</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">val</span>)
+ <span class="ruby-identifier">val</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file