ref/ruby/classes/Vpi/Handle.src/M000038.html in ruby-vpi-12.1.0 vs ref/ruby/classes/Vpi/Handle.src/M000038.html in ruby-vpi-13.0.0

- old
+ new

@@ -3,16 +3,22 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>x? (Vpi::Handle)</title> + <title>inspect (Vpi::Handle)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <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/vpi.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">x?</span> -54: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">hexStrVal</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/x/i</span> -55: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 204</span> +204: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aPropNames</span> +205: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">unshift</span> <span class="ruby-identifier">:fullName</span>, <span class="ruby-identifier">:size</span>, <span class="ruby-identifier">:file</span>, <span class="ruby-identifier">:lineNo</span> +206: +207: <span class="ruby-identifier">aPropNames</span>.<span class="ruby-identifier">map!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span> +208: <span class="ruby-node">&quot;#{name}=#{self.send(name.to_sym)}&quot;</span> +209: <span class="ruby-keyword kw">end</span> +210: +211: <span class="ruby-node">&quot;#&lt;Vpi::Handle #{vpiType_s} #{aPropNames.join(', ')}&gt;&quot;</span> +212: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file