ref/ruby/classes/Vpi/Handle.src/M000044.html in ruby-vpi-17.0.0 vs ref/ruby/classes/Vpi/Handle.src/M000044.html in ruby-vpi-18.0.0

- old
+ new

@@ -8,14 +8,14 @@ <title>negedge? (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 91</span> -91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">negedge?</span> -92: <span class="ruby-identifier">old</span> = <span class="ruby-ivar">@lastVal</span> -93: <span class="ruby-identifier">new</span> = <span class="ruby-ivar">@lastVal</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">intVal</span> -94: -95: <span class="ruby-identifier">old</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">new</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> -96: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/vpi.rb, line 97</span> + 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">negedge?</span> + 98: <span class="ruby-identifier">old</span> = <span class="ruby-ivar">@lastVal</span> + 99: <span class="ruby-identifier">new</span> = <span class="ruby-ivar">@lastVal</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">intVal</span> +100: +101: <span class="ruby-identifier">old</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">new</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> +102: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file